new PathGraphics(options)
Described a polyline created by an Entity that defines a path that moves over time.
| Name | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object is an object that contains the following properties:
|
Members
-
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 polyline path should be displayed from the camera.
-
leadTimeProperty
-
Get or set the number property, specifying the number of seconds before the object to be displayed.
-
materialMaterialProperty
-
Get or set the MaterialProperty property to specify the material used to fill the polyline path.
- Default Value: Color.WHITE
resolutionProperty
Get or set the number property to specify the maximum number of seconds to step during location sampling.
- Default Value: 60
showProperty
Get or set boolean property to specify path visibility.
- Default Value: true
trailTimeProperty
Get or set the number property, specifying the number of seconds after the object to be displayed.
widthProperty
Get or set the number property to specify the pixel width of the polyline path.
- Default Value: 1.0
Methods
-
clone(result){PathGraphics}
-
Copy instance
Name Type Description resultPathGraphics optional The object that stores the copied results
Returns:
Type Description PathGraphics 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 sourcePathGraphics An object that provides attribute values.