Constructor
new MarkMaterialPolylineOutline(optionsopt)
Example
var polylineOutline = new MarkPolyline({
positions : [
new GeoPosition(-75, 34, 500000),
new GeoPosition(-125, 34, 500000)
],
material : new MarkMaterialPolylineOutline({
color : Cesium.Color.RED,
outlineWidth : 3
}),
width : 5
});
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
此对象拥有以下属性:
Properties
|
Extends
Members
color :Cesium.Color
- Default Value:
- Cesium.Color.WHITE
获取或设置线颜色。
Type:
- Cesium.Color
(readonly) materialProperty :Cesium.MaterialProperty
- Overrides:
获取Cesium原生材质属性。
Type:
- Cesium.MaterialProperty
outlineColor :Cesium.Color
- Default Value:
- Cesium.Color.WHITE
获取或设置边框的颜色。
Type:
- Cesium.Color
outlineWidth :Number
- Default Value:
- 1.0
获取或设置边框线的宽度。
Type:
- Number