- java.lang.Object
- com.anylogic.engine.presentation.Shape
- com.anylogic.engine.presentation.ShapeModelPrimitives
- All Implemented Interfaces:
com.anylogic.engine.internal.Child,Locatable2D,AggregatableAnimationElement,HasLevel,LevelElement,SVGElement,UsdElement,Serializable,Cloneable
public class ShapeModelPrimitives extends Shape
- See Also:
- Serialized Form
| Modifier and Type | Method | Description |
|---|---|---|
boolean | contains |
Test if the shape contains the point with the given coordinates
(relative to this shape's container, i.e.
|
void | executeUserAction |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
com.anylogic.engine.internal.presentation.ISVGComponent | getSVGComponent() | |
void | postSVGShapeSpecificAttributes |
Posts general properties specific to a particular shape class.
|
canHandleClick, clone, findSVGElement, getDrawMode, getGroup, getGroupOrOwner, getInspect, getLevel, getName, getOrGenerateUSDId, getPresentable, getRotation, getScaleX, getScaleY, getSVGId, getUsdVersion, getX, getY, isJava2DSwingPresentation, isOnly3D, isPublic_xjal, isSVGPresentation, isVisible, isVisibleCurrently, onAggregatorVisibilityChanged, onClick, randomPointInside, randomPointInside, removeSVGFromOwner, removeSVGImage, resetSVGState, restoreOwner, setChangedUsdVersion, setInspect, setLevel, setNextChangedUsdVersion, setPos, setPos, setPublic_xjal, setRotation, setScale, setScale, setScaleX, setScaleY, setVisible, setX, setY, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGPropertiespublic boolean contains(double px, double py)
Description copied from class:
Shape@AnyLogicInternalAPI public void executeUserAction(String value)
Description copied from interface:
SVGElementThis method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Specified by:
executeUserActionin interfaceSVGElement- Overrides:
executeUserActionin classShape
@AnyLogicInternalAPI public void postSVGShapeSpecificAttributes(List<String> att, List<String> val, boolean publicOnly)
Description copied from class:
ShapePosts general properties specific to a particular shape class.
Is triggered by SVG_DIRTY_SHAPE flag.
Made public for occasional posting of additional SVG properties from outside engine
(e.g. from libraries)
- Overrides:
postSVGShapeSpecificAttributesin classShape- Parameters:
att- attribute namesval- attribute valuespublicOnly- TODO
@AnyLogicInternalAPI public com.anylogic.engine.internal.presentation.ISVGComponent getSVGComponent()