Shape Attributes
Holds attributes applied to geographic shapes.
Constructors
Properties
Indicates the color and opacity of shape interiors.
Indicates the image source applied to shape interiors. When null, shape interiors are displayed in the interior color. When non-null, image pixels appear in shape interiors, with each image pixel multiplied by the interior RGBA color. Use a white interior color to display unmodified image pixels.
By default, interior image sources are displayed as a repeating pattern across shape interiors. The pattern matches image pixels to screen pixels, such that the image appears to repeat in screen coordinates.
Indicates whether shape depth-testing is enabled. When true, shapes may be occluded by terrain and other shapes in certain viewing situations. When false, shapes will not be occluded by terrain and other shapes.
Indicates whether shape interiors are enabled.
Indicates whether shape outlines are enabled.
Indicates whether shape vertical outlines are enabled. Not all shapes display vertical outlines. Those that do not ignore this property. When enabled, those that do display vertical lines extending from the shape's specified positions to the ground.
Sets whether shape lighting is enabled. When true, the appearance of a shape's color and image source may be modified by shading applied from a global light source. Lambertian shading currently only applies to mesh shapes (TriangleMesh / GeographicMesh); other shape types ignore this flag. Shadow casting/receiving is controlled independently by shadowMode, matching GIS industrial conventions.
Allows to pick interior elements of shape
Allows to pick outline elements of shape
Indicates the color and opacity of shape outlines.
Indicates the image source applied to shape outlines.
Indicates the width of shape outlines.
Whether the shape participates in cascaded sun shadows when earth.worldwind.layer.shadow.ShadowLayer is in the layer list. See ShadowMode for the cast/receive matrix. Default ShadowMode.ENABLED means the shape both casts and receives. Decoupled from isLightingEnabled so an unlit shape can still drop a shadow, and a lit shape can opt out of casting onto terrain.