Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.AbstractLevelMarkup
- All Implemented Interfaces:
AggregatableAnimationElement
,HasLevel
,LevelElement
,LevelMarkup
,SVGElement
,UsdElement
,Serializable
- Direct Known Subclasses:
AbstractFluidMarkup
,AbstractWall
,Crane
,DensityMap
,Elevator
,EscalatorGroup
,LevelGate
,Lift
,Pathway
,PedFlowStatistics
,Robot
,ServiceBase
,Storage
,TargetLine
public abstract class AbstractLevelMarkup extends MarkupShape implements LevelMarkup
- See Also:
- Serialized Form
Constructor | Description |
---|---|
AbstractLevelMarkup() | |
AbstractLevelMarkup |
Modifier and Type | Method | Description |
---|---|---|
ShapeDrawMode | getDrawMode() |
Returns the drawing mode of the shape (where to draw this shape: 2D, 3D or 2D+3D).
If the shape has been created with no-argument constructor, and has no specific limitations (like 2D-only), and drawing mode hasn't yet been set, then it is initialized to default (2D + 3D). |
Level | getLevel() |
Returns level associated with this space markup element or
null
if this element has no level |
void | setLevel |
contains, error, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getName, getOrGenerateUSDId, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
public AbstractLevelMarkup()
public AbstractLevelMarkup(Agent owner, ShapeDrawMode drawMode, boolean isPublic)
public Level getLevel()
Description copied from interface:
HasLevel
Returns level associated with this space markup element or
null
if this element has no level- Specified by:
getLevel
in interfaceHasLevel
- Specified by:
getLevel
in classMarkupShape
- Returns:
- the level associated with this space markup element
public ShapeDrawMode getDrawMode()
Description copied from class:
MarkupShape
Returns the drawing mode of the shape (where to draw this shape: 2D, 3D or 2D+3D).
If the shape has been created with no-argument constructor, and has no specific limitations (like 2D-only), and drawing mode hasn't yet been set, then it is initialized to default (2D + 3D).
If the shape has been created with no-argument constructor, and has no specific limitations (like 2D-only), and drawing mode hasn't yet been set, then it is initialized to default (2D + 3D).
- Overrides:
getDrawMode
in classMarkupShape
- Returns:
- the draw mode for this shape
@AnyLogicInternalAPI public void setLevel(Level level)
- Specified by:
setLevel
in interfaceLevelElement