Package com.anylogic.engine.markup
- Field Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.ConveyorMarkupElement
- Methods inherited from class com.anylogic.engine.markup.MarkupShape
- Methods inherited from class com.anylogic.engine.markup.AbstractMarkup
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
- Method Details
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.ConveyorMarkupElement<T>
- com.anylogic.engine.markup.ConveyorPathPart<T>
- All Implemented Interfaces:
AggregatableAnimationElement
,HasLevel
,INetworkMarkupElement
,SVGElement
,UsdElement
,Serializable
- Direct Known Subclasses:
ConveyorSpur
,ConveyorStation
,PositionOnConveyor
public abstract class ConveyorPathPart<T extends Agent> extends ConveyorMarkupElement<T>
- See Also:
- Serialized Form
Modifier and Type | Method | Description |
---|---|---|
ConveyorPath<? extends T> | getConveyor() |
Returns conveyor on which the conveyor part is located.
|
double | getOffset() |
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
|
double | getOffset |
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, measured in the given units.
|
void | setConveyor |
Sets conveyor on which the conveyor part is located.
|
void | setOffset |
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
|
void | setOffset |
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, measured in the given units.
|
contains, error, getDrawMode, 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 ConveyorPath<? extends T> getConveyor()
Returns conveyor on which the conveyor part is located.
- Returns:
- conveyor on which the conveyor part is located.
public void setConveyor(ConveyorPath<? extends T> conveyor)
Sets conveyor on which the conveyor part is located.
- Parameters:
conveyor
- conveyor on which the conveyor part is located.
public double getOffset()
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
- Returns:
- offset in XY-projection, in pixels.
public double getOffset(LengthUnits units)
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, measured in the given units.
- Returns:
- offset in XY-projection, measured in the given units.
public void setOffset(double offset)
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
- Parameters:
offset
- offset, in pixels
public void setOffset(double offset, LengthUnits units)
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, measured in the given units.
- Parameters:
offset
- offset, measured in the given units