new PolylineVolumeGraphics(options)
Draw Line Volume Class
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object is an object that contains the following properties:
|
- See:
Members
-
cornerTypeProperty
-
Get or set the CornerType property to specify the style of the corner.
- Default Value: CornerType.ROUNDED
readonly definitionChangedEvent
Get events. This event is thrown when the value of a property or sub property is modified, or when the definition is modified.
distanceDisplayConditionProperty
Get or set the DistanceDisplayCondition property to specify how far the rectangle should be displayed from the camera.
fillProperty
Gets or sets the boolean property, specifying whether to fill the geometry with the provided material.
- Default Value: true
granularityProperty
Get or set the number property to specify the angular distance between points on the geometry.
- Default Value: {CesiumMath.RADIANS_PER_DEGREE}
materialMaterialProperty
Get or set the MaterialProperty property to specify the material used to fill the geometry.
- Default Value: Color.WHITE
outlineProperty
Gets or sets Boolean properties to specify whether to display the outline of geometry.
- Default Value: false
outlineColorProperty
Get or set the Color property to specify the color of the contour.
- Default Value: Color.BLACK
outlineWidthProperty
Get or set the number property to specify the contour width.
- Default Value: 1.0
positionsProperty
Get or set Cartesian3 properties, which define the path to be stretched.
shadowsProperty
Gets or sets enumeration properties to specify whether a rectangle casts or receives shadows from each light source.
- Default Value: ShadowMode.DISABLED
shapeProperty
Get or set the Cartesian2 property, which defines the shape to be stretched.
showProperty
Get the visibility of the geometry set to boolean type.
- Default Value: true
Methods
-
clone(result){PolylineVolumeGraphics}
-
Copy instance
Name Type Description resultPolylineVolumeGraphics optional The object that stores the copied results
Returns:
Type Description PolylineVolumeGraphics If input parameters are provided, return the modified input parameter object. If no input parameters are provided, return a new instance. -
merge(source)
-
Assign the attribute values corresponding to the source object to all unspecified attributes of this instance.
Name Type Description sourcePolylineVolumeGraphics An object that provides attribute values.