@JsType(isNative=true, namespace="Cesium", name="PathGraphics") public class PathGraphics extends Object
Modifier and Type | Field and Description |
---|---|
Property |
distanceDisplayCondition
A Property specifying at what distance from the camera that this path will be displayed.
|
Property |
leadTime
A Property specifying the number of seconds behind the object to show.
|
MaterialProperty |
material
A Property specifying the material used to draw the path.
|
Property |
resolution
A numeric Property specifying the maximum number of seconds to step when sampling the position.
|
Property |
show
A boolean Property specifying the visibility of the path.
|
Property |
trailTime
A Property specifying the number of seconds in front of the object to show.
|
Property |
width
A numeric Property specifying the width in pixels.
|
Constructor and Description |
---|
PathGraphics()
Describes a polyline defined as the path made by an
Entity as it moves over time. |
PathGraphics(PathGraphicsOptions options)
Describes a polyline defined as the path made by an
Entity as it moves over time. |
Modifier and Type | Method and Description |
---|---|
PathGraphics |
clone(PathGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(PathGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Property leadTime
@JsProperty public Property trailTime
@JsProperty public Property show
@JsProperty public Property width
@JsProperty public MaterialProperty material
Color.WHITE()
@JsProperty public Property resolution
@JsProperty public Property distanceDisplayCondition
@JsConstructor public PathGraphics()
Entity
as it moves over time.@JsConstructor public PathGraphics(PathGraphicsOptions options)
Entity
as it moves over time.options
- Options@JsProperty(name="definitionChanged") public Event definitionChanged()
public PathGraphics clone(@JsOptional PathGraphics result)
result
- The object onto which to store the result.public void merge(PathGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.