Class SimpleMarkerSceneSymbol
- All Implemented Interfaces:
JsonSerializable
Simple marker scene symbols display graphics and features (collectively referred to as geoelements) using
predefined 3D markers such as SimpleMarkerSceneSymbol.Style.CONE
, SimpleMarkerSceneSymbol.Style.CUBE
, and SimpleMarkerSceneSymbol.Style.SPHERE
.
SimpleMarkerSceneSymbol symbolize Graphics and Features that have a Point or Multipoint geometry using simple predefined styles:
- Cube
- Cone
- Cylinder
- Diamond
- Sphere
- Tetrahedron
A SimpleMarkerSceneSymbol has the following properties:
- Style, type of shape.
- Width, width of the symbol.
- Height, height of the symbol.
- Depth, depth of the symbol.
- Pitch, pitch of the symbol.
- Roll, roll of the symbol.
- Heading, heading of the symbol.
- Anchor Position, placement of the symbol relative to the graphic/feature's geometry.
The shapes rendered are dependent on the style and dimensions (width, height, depth).
- If the style is sphere, and dimensions are different, then the shape rendered is an ellipsoid.
- If the style is cube, and dimensions are different, then the shape rendered is a cuboid.
- If the style is cone, and the width and depth are different, then the cone rendered has elliptic base.
- If the style is cylinder, and the width and depth are different, them the cylinder rendered has elliptic ends.
- If the style is diamond, and the width and depth are different, then the two halves of the diamond are connected by a rectangle (instead of the standard square).
- If the style is a tetrahedron, and the width and depth are different, then the base is not an equilateral triangle.
GraphicsOverlay.getGraphics().add(new Graphic(point, simpleMarkerSceneSymbol));OR
GraphicsOverlay.setRenderer(new SimpleRenderer(simpleMarkerSceneSymbol));
- Since:
- 100.0.0
- See Also:
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.symbology.MarkerSceneSymbol
color
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines the marker style for this SimpleMarkerSceneSymbol.Nested classes/interfaces inherited from class com.esri.arcgisruntime.symbology.SceneSymbol
SceneSymbol.AnchorPosition
-
Field Summary
Fields inherited from class com.esri.arcgisruntime.symbology.MarkerSceneSymbol
DEFAULT_ANCHOR_POSITION
-
Constructor Summary
ConstructorDescriptionCreates a simple marker scene symbol with sphere as the default style.SimpleMarkerSceneSymbol
(SimpleMarkerSceneSymbol.Style style, int color, double width, double height, double depth, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.SimpleMarkerSceneSymbol
(SimpleMarkerSceneSymbol.Style style, Color color, double width, double height, double depth, SceneSymbol.AnchorPosition anchorPosition) Creates a simple marker scene symbol with the given values. -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleMarkerSceneSymbol
createCone
(int color, double diameter, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCone(Color, double, double)
static SimpleMarkerSceneSymbol
createCone
(int color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCone(Color, double, double, AnchorPosition)
static SimpleMarkerSceneSymbol
createCone
(Color color, double diameter, double height) Creates a cone with the given dimensions.static SimpleMarkerSceneSymbol
createCone
(Color color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a cone with the given dimensions.static SimpleMarkerSceneSymbol
createCube
(int color, double size) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCube(Color, double)
static SimpleMarkerSceneSymbol
createCube
(int color, double size, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCube(Color, double, AnchorPosition)
static SimpleMarkerSceneSymbol
createCube
(Color color, double size) Creates a cube with the given dimensions.static SimpleMarkerSceneSymbol
createCube
(Color color, double size, SceneSymbol.AnchorPosition anchorPosition) Creates a cube with the given dimensions.static SimpleMarkerSceneSymbol
createCylinder
(int color, double diameter, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCylinder(Color, double, double)
static SimpleMarkerSceneSymbol
createCylinder
(int color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCylinder(Color, double, double, AnchorPosition)
static SimpleMarkerSceneSymbol
createCylinder
(Color color, double diameter, double height) Creates a cylinder with the given dimensions.static SimpleMarkerSceneSymbol
createCylinder
(Color color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a cylinder with the given dimensions.static SimpleMarkerSceneSymbol
createDiamond
(int color, double size, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateDiamond(Color, double, double)
static SimpleMarkerSceneSymbol
createDiamond
(int color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.sicne 200.0.0, replaced bycreateDiamond(Color, double, double, AnchorPosition)
static SimpleMarkerSceneSymbol
createDiamond
(Color color, double size, double height) Creates a diamond with the given dimensions.static SimpleMarkerSceneSymbol
createDiamond
(Color color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a diamond with the given dimensions.static SimpleMarkerSceneSymbol
createSphere
(int color, double diameter) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, repalced bycreateSphere(Color, double)
static SimpleMarkerSceneSymbol
createSphere
(int color, double diameter, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateSphere(Color, double, AnchorPosition)
static SimpleMarkerSceneSymbol
createSphere
(Color color, double diameter) Creates a sphere with the given dimensions.static SimpleMarkerSceneSymbol
createSphere
(Color color, double diameter, SceneSymbol.AnchorPosition anchorPosition) Creates a sphere with the given dimensions.static SimpleMarkerSceneSymbol
createTetrahedron
(int color, double size, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateTetrahedron(Color, double, double)
static SimpleMarkerSceneSymbol
createTetrahedron
(int color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateTetrahedron(Color, double, double, AnchorPosition)
static SimpleMarkerSceneSymbol
createTetrahedron
(Color color, double size, double height) Creates a tetrahedron with the given dimensions.static SimpleMarkerSceneSymbol
createTetrahedron
(Color color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a tetrahedron with the given dimensions.getStyle()
Returns the style.void
Sets the style.Methods inherited from class com.esri.arcgisruntime.symbology.MarkerSceneSymbol
colorProperty, getAnchorPosition, getColor, getDepth, getHeading, getHeight, getPitch, getRoll, getWidth, setAnchorPosition, setColor, setColor, setDepth, setHeading, setHeight, setPitch, setRoll, setWidth
Methods inherited from class com.esri.arcgisruntime.symbology.Symbol
createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, createSwatchAsync, fromJson, getUnknownJson, getUnsupportedJson, toJson
-
Constructor Details
-
SimpleMarkerSceneSymbol
public SimpleMarkerSceneSymbol()Creates a simple marker scene symbol with sphere as the default style.- Since:
- 200.2.0
-
SimpleMarkerSceneSymbol
@Deprecated(since="200.0.0", forRemoval=true) public SimpleMarkerSceneSymbol(SimpleMarkerSceneSymbol.Style style, int color, double width, double height, double depth, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bySimpleMarkerSceneSymbol(Style, Color, double, double, double, AnchorPosition)
Creates a new SimpleMarkerSceneSymbol.- Parameters:
style
- the style of the symbolSimpleMarkerSceneSymbol.Style
color
- the color of the symbol colorwidth
- the width in meters of the symbolheight
- height in meters of the symboldepth
- depth in meters of the symbolanchorPosition
- anchor position of the symbol placementSceneSymbol.AnchorPosition
relative to the graphic/feature's geometry- Throws:
IllegalArgumentException
- if style is nullIllegalArgumentException
- if anchorPosition is nullIllegalArgumentException
- if width or height or depth is less than 1- Since:
- 100.0.0
-
SimpleMarkerSceneSymbol
public SimpleMarkerSceneSymbol(SimpleMarkerSceneSymbol.Style style, Color color, double width, double height, double depth, SceneSymbol.AnchorPosition anchorPosition) Creates a simple marker scene symbol with the given values.- Parameters:
style
- the style of the symbolSimpleMarkerSceneSymbol.Style
color
- the color of the symbol colorwidth
- the width in meters of the symbolheight
- height in meters of the symboldepth
- depth in meters of the symbolanchorPosition
- anchor position of the symbol placementSceneSymbol.AnchorPosition
relative to the graphic/feature's geometry- Throws:
IllegalArgumentException
- if style is nullIllegalArgumentException
- if color is nullIllegalArgumentException
- if anchorPosition is nullIllegalArgumentException
- if width or height or depth is less than 1- Since:
- 200.0.0
-
-
Method Details
-
createCone
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createCone(int color, double diameter, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCone(Color, double, double)
Creates a cone with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuediameter
- diameter of the base of the cone, in metersheight
- height from the base to the tip of the code, in meters- Returns:
- a new cone
- Throws:
IllegalArgumentException
- if diameter or height is less than 1- Since:
- 100.0.0
-
createCone
Creates a cone with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symboldiameter
- diameter of the base of the cone, in metersheight
- height from the base to the tip of the code, in meters- Returns:
- a new cone
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if diameter or height is less than 1- Since:
- 200.0.0
-
createCone
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createCone(int color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCone(Color, double, double, AnchorPosition)
Creates a cone with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuediameter
- diameter of the base of the cone, in metersheight
- height from the base to the tip of the code, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new cone
- Throws:
IllegalArgumentException
- if anchorPosition is nullIllegalArgumentException
- if diameter or height is less than 1- Since:
- 100.0.0
-
createCone
public static SimpleMarkerSceneSymbol createCone(Color color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a cone with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symboldiameter
- diameter of the base of the cone, in metersheight
- height from the base to the tip of the code, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new cone
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if anchorPosition is nullIllegalArgumentException
- if diameter or height is less than 1- Since:
- 200.0.0
-
createCube
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createCube(int color, double size) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCube(Color, double)
Creates a cube with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuesize
- specifies the width, height, and depth of cube, in meters- Returns:
- a new cube
- Throws:
IllegalArgumentException
- if size is less than 1- Since:
- 100.0.0
-
createCube
Creates a cube with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbolsize
- specifies the width, height, and depth of cube, in meters- Returns:
- a new cube
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if size is less than 1- Since:
- 200.0.0
-
createCube
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createCube(int color, double size, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCube(Color, double, AnchorPosition)
Creates a cube with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuesize
- specifies the width, height, and depth of cube, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new cube
- Throws:
IllegalArgumentException
- if size is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 100.0.0
-
createCube
public static SimpleMarkerSceneSymbol createCube(Color color, double size, SceneSymbol.AnchorPosition anchorPosition) Creates a cube with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbolsize
- specifies the width, height, and depth of cube, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new cube
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if size is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 200.0.0
-
createCylinder
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createCylinder(int color, double diameter, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCylinder(Color, double, double)
Creates a cylinder with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuediameter
- diameter of the cylinder, represents the width and depth, in metersheight
- distance between the ends of the cylinder, in meters- Returns:
- a new cylinder
- Throws:
IllegalArgumentException
- if diameter or height is less than 1- Since:
- 100.0.0
-
createCylinder
Creates a cylinder with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symboldiameter
- diameter of the cylinder, represents the width and depth, in metersheight
- distance between the ends of the cylinder, in meters- Returns:
- a new cylinder
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if diameter or height is less than 1- Since:
- 200.0.0
-
createCylinder
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createCylinder(int color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateCylinder(Color, double, double, AnchorPosition)
Creates a cylinder with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuediameter
- diameter of the cylinder, represents the width and depth, in metersheight
- distance between the ends of the cylinder, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new cylinder
- Throws:
IllegalArgumentException
- if diameter or height is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 100.0.0
-
createCylinder
public static SimpleMarkerSceneSymbol createCylinder(Color color, double diameter, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a cylinder with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symboldiameter
- diameter of the cylinder, represents the width and depth, in metersheight
- distance between the ends of the cylinder, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new cylinder
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if diameter or height is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 200.0.0
-
createDiamond
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createDiamond(int color, double size, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateDiamond(Color, double, double)
Creates a diamond with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuesize
- represents the width and depth of the diamond, in metersheight
- distance from one tip to the other, in meters- Returns:
- a new diamond
- Throws:
IllegalArgumentException
- if size or height is less than 1- Since:
- 100.0.0
-
createDiamond
Creates a diamond with the given dimensions.Default properties:
- Anchor position, Bottom
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbolsize
- represents the width and depth of the diamond, in metersheight
- distance from one tip to the other, in meters- Returns:
- a new diamond
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if size or height is less than 1- Since:
- 200.0.0
-
createDiamond
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createDiamond(int color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.sicne 200.0.0, replaced bycreateDiamond(Color, double, double, AnchorPosition)
Creates a diamond with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuesize
- represents the width and depth of the diamond, in metersheight
- distance from one tip to the other, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new diamond
- Throws:
IllegalArgumentException
- if size or height is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 100.0.0
-
createDiamond
public static SimpleMarkerSceneSymbol createDiamond(Color color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a diamond with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbolsize
- represents the width and depth of the diamond, in metersheight
- distance from one tip to the other, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new diamond
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if size or height is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 200.0.0
-
createSphere
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createSphere(int color, double diameter) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, repalced bycreateSphere(Color, double)
Creates a sphere with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuediameter
- diameter of the sphere, represents the height, width and depth, in meters- Returns:
- a new sphere
- Throws:
IllegalArgumentException
- if diameter is less than 1- Since:
- 100.0.0
-
createSphere
Creates a sphere with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symboldiameter
- diameter of the sphere, represents the height, width and depth, in meters- Returns:
- a new sphere
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if diameter is less than 1- Since:
- 200.0.0
-
createSphere
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createSphere(int color, double diameter, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateSphere(Color, double, AnchorPosition)
Creates a sphere with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuediameter
- diameter of the sphere, represents the height, width and depth, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new sphere
- Throws:
IllegalArgumentException
- if diameter is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 100.0.0
-
createSphere
public static SimpleMarkerSceneSymbol createSphere(Color color, double diameter, SceneSymbol.AnchorPosition anchorPosition) Creates a sphere with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symboldiameter
- diameter of the sphere, represents the height, width and depth, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new sphere
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if diameter is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 200.0.0
-
createTetrahedron
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createTetrahedron(int color, double size, double height) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateTetrahedron(Color, double, double)
Creates a tetrahedron with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuesize
- represents the width and depth of the tetrahedron, in metersheight
- height from center of the base to the opposite tip, in meters- Returns:
- a new tetrahedron
- Throws:
IllegalArgumentException
- if size or height is less than 1- Since:
- 100.0.0
-
createTetrahedron
Creates a tetrahedron with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbolsize
- represents the width and depth of the tetrahedron, in metersheight
- height from center of the base to the opposite tip, in meters- Returns:
- a new tetrahedron
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if size or height is less than 1- Since:
- 200.0.0
-
createTetrahedron
@Deprecated(since="200.0.0", forRemoval=true) public static SimpleMarkerSceneSymbol createTetrahedron(int color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Deprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced bycreateTetrahedron(Color, double, double, AnchorPosition)
Creates a tetrahedron with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbol as a ARGB(alpha, red, green, blue) valuesize
- represents the width and depth of the tetrahedron, in metersheight
- height from center of the base to the opposite tip, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new tetrahedron
- Throws:
IllegalArgumentException
- if size or height is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 100.0.0
-
createTetrahedron
public static SimpleMarkerSceneSymbol createTetrahedron(Color color, double size, double height, SceneSymbol.AnchorPosition anchorPosition) Creates a tetrahedron with the given dimensions.Default properties:
- Pitch, 0.0
- Roll, 0.0
- Heading, 0.0
- Parameters:
color
- surface color of the symbolsize
- represents the width and depth of the tetrahedron, in metersheight
- height from center of the base to the opposite tip, in metersanchorPosition
- placement of the symbol relative to the graphic/feature's geometry- Returns:
- a new tetrahedron
- Throws:
IllegalArgumentException
- if color is nullIllegalArgumentException
- if size or height is less than 1IllegalArgumentException
- if anchorPosition is null- Since:
- 200.0.0
-
getStyle
Returns the style. Default is BOTTOM.- Returns:
- the style
- Since:
- 100.0.0
-
setStyle
Sets the style.- Parameters:
style
- the style- Throws:
IllegalArgumentException
- if style is null- Since:
- 100.0.0
-
SimpleMarkerSceneSymbol(Style, Color, double, double, double, AnchorPosition)