PolylineOutlineMaterialProperty

new Cesium.PolylineOutlineMaterialProperty(options)

映射到折线轮廓 MaterialMaterialProperty 统一。
Name Type Description
options object optional 对象,具有以下属性:
Name Type Default Description
color Property | Color Color.WHITE optional 指定线条的 Color 的属性。
outlineColor Property | Color Color.BLACK optional 指定轮廓的 Color 的属性。
outlineWidth Property | number 1.0 optional 一个数字属性,指定轮廓的宽度,以像素为单位。

Members

获取或设置指定行的 Color 的属性。
Default Value: Color.WHITE
获取此属性的定义发生更改时引发的事件。 如果对 getValue 的调用会返回 getValue,则认为定义已更改 同一时间的不同结果。
获取一个值,该值指示此属性是否为 constant。 将属性视为 常量(如果 getValue 始终为当前定义返回相同的结果)。
获取或设置指定轮廓的 Color 的属性。
Default Value: Color.BLACK
获取或设置numeric 指定轮廓宽度的属性。
Default Value: 1.0

Methods

将此属性与提供的属性进行比较,并返回 true,否则为 false
Name Type Description
other Property optional 另一个属性。
Returns:
true如果左和右相等,否则false
在提供的时间获取 Material 类型。
Name Type Description
time JulianDate 检索类型的时间。
Returns:
材质的类型。
获取属性在提供的时间的值。
Name Type Default Description
time JulianDate JulianDate.now() optional 检索值的时间。如果省略,则使用当前系统时间。
result object optional The object to store the value into, if omitted, a new instance is created and returned.
Returns:
修改后的结果参数 or a new instance if the result parameter was not supplied.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.