public enum ShapeDrawMode extends java.lang.Enum<ShapeDrawMode>
Enum Constant and Description |
---|
SHAPE_DRAW_2D |
SHAPE_DRAW_2D3D |
SHAPE_DRAW_3D |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSVGString()
This method is internal and shouldn't be called by user.
|
boolean |
has2D() |
boolean |
has3D() |
abstract ShapeDrawMode |
intersection(ShapeDrawMode drawMode) |
boolean |
intersects(ShapeDrawMode drawMode)
Tests if a given draw mode has any intersection with this one, i.e.
|
ShapeDrawMode |
limitBy(ShapeDrawMode drawMode) |
static ShapeDrawMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShapeDrawMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeDrawMode SHAPE_DRAW_2D3D
public static final ShapeDrawMode SHAPE_DRAW_2D
public static final ShapeDrawMode SHAPE_DRAW_3D
public static ShapeDrawMode[] values()
for (ShapeDrawMode c : ShapeDrawMode.values()) System.out.println(c);
public static ShapeDrawMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean has2D()
public boolean has3D()
@AnyLogicInternalAPI public java.lang.String getSVGString()
@AnyLogicInternalAPI public abstract ShapeDrawMode intersection(ShapeDrawMode drawMode)
@AnyLogicInternalAPI public ShapeDrawMode limitBy(ShapeDrawMode drawMode)
@AnyLogicLegacyAPI public boolean intersects(ShapeDrawMode drawMode)
drawMode
- another draw modeCopyright © AnyLogic North America, LLC. All Rights Reserved.