new RectangleGraphics()
An optionally time-dynamic Rectangle.
Members
-
closeBottom :Property
-
Gets or sets the Boolean
Property
specifying whether an extruded rectangle should have a closed bottom. -
closeTop :Property
-
Gets or sets the Boolean
Property
specifying whether an extruded rectangle should have a closed top. -
coordinates :Property
-
-
readonlydefinitionChanged :Event
-
Gets the event that is raised whenever a new property is assigned.
-
extrudedHeight :Property
-
Gets or sets the Number
Property
specifying the extruded height of the rectangle. Setting this property creates a rectangle shaped volume starting at height and ending at the extruded height. -
fill :Property
-
Gets or sets the Boolean
Property
specifying whether the rectangle should be filled. -
granularity :Property
-
Gets or sets the Number
Property
specifying the sampling distance, in radians, between each latitude and longitude point. -
height :Property
-
Gets or sets the Number
Property
specifying the height of the rectangle. If undefined, the rectangle will be on the surface. -
material :MaterialProperty
-
Gets or sets the
MaterialProperty
specifying the appearance of the rectangle. -
outline :Property
-
Gets or sets the Boolean
Property
specifying whether the rectangle should be outlined. -
outlineColor :Property
-
Gets or sets the Color
Property
specifying whether the color of the outline. -
rotation :Property
-
Gets or sets the Number
Property
specifying the rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. -
show :Property
-
Gets or sets the boolean
Property
specifying the rectangle's visibility. -
stRotation :Property
-
Gets or sets the Number
Property
specifying the rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
Methods
-
clone(result) → RectangleGraphics
-
Duplicates a RectangleGraphics instance.
Name Type Description result
RectangleGraphics optional The object onto which to store the result. Returns:
The modified result parameter or a new instance if one was not provided. -
merge(source)
-
Assigns each unassigned property on this object to the value of the same property on the provided source object.
Name Type Description source
RectangleGraphics The object to be merged into this object.