Package com.anylogic.engine.presentation
- All Known Subinterfaces:
AbstractPositionalMarkup
- All Known Implementing Classes:
AbstractFluidMarkup
,AbstractLevelMarkup
,AbstractMarkup
,AbstractRailwayMarkup
,AbstractRoadConnectableElement
,AbstractRoadMarkup
,AbstractRoadPart
,AbstractRoadSidePart
,AbstractShapedWall
,AbstractShapeGISMap
,AbstractWall
,AreaNode
,BarChart
,BulkConveyorBelt
,BusStop
,Chart
,Chart1D
,Chart1DSum
,Chart2D
,Chart2DPlot
,CircularWall
,ConveyorCustomStation
,ConveyorMarkupElement
,ConveyorNode
,ConveyorPath
,ConveyorPathPart
,ConveyorPointNode
,ConveyorPortImpl
,ConveyorSimpleStation
,ConveyorSpur
,ConveyorStation
,ConveyorTransferTable
,ConveyorTransitionalNode
,ConveyorTurnStation
,ConveyorTurntable
,Crane
,DensityMap
,Elevator
,ElevatorShaft
,EscalatorGroup
,GISMarkupElement
,GISNode
,GISPoint
,GISRegion
,GISRoute
,Histogram
,Histogram2D
,Intersection
,JibCrane
,LevelGate
,Lift
,LiftPortImpl
,Light3D
,Light3D.CarHeadlight
,Light3D.Daylight
,Light3D.Moonlight
,Light3D.StreetLight
,Light3DAmbient
,Light3DDirectional
,Light3DPoint
,Light3DSpot
,MarkupShape
,NetworkMarkupElement
,NetworkPortImpl
,Node
,OverheadCrane
,OverheadCraneBridge
,PalletRack
,ParkingLot
,Path
,Pathway
,PedFlowStatistics
,PieChart
,Pipe
,Plot
,PointNode
,PolygonalNode
,PositionOnConveyor
,PositionOnTrack
,QueueArea
,RailwaySwitch
,RailwayTrack
,RectangularNode
,RectangularWall
,ReplicatedShape
,Road
,Robot
,ServiceBase
,ServiceWArea
,ServiceWLine
,Shape
,Shape3D
,Shape3DGroup
,Shape3DObject
,ShapeAgentGroup_xjal
,ShapeAgentPopulationGroup
,ShapeArc
,ShapeArrowLine
,ShapeButton
,ShapeCAD
,ShapeCanvas
,ShapeCheckBox
,ShapeComboBox
,ShapeControl
,ShapeCurve
,ShapeEmbeddedObjectIcon
,ShapeEmbeddedObjectPresentation
,ShapeFileChooser
,ShapeGISMap
,ShapeGroup
,ShapeImage
,ShapeInputControl
,ShapeInspect
,ShapeLine
,ShapeLineFill
,ShapeListBox
,ShapeModelElementsGroup
,ShapeModelPrimitives
,ShapeMultiplePoints
,ShapeOval
,ShapePolyLine
,ShapeProgressBar
,ShapeRadioButtonGroup
,ShapeRectangle
,ShapeRoundedRectangle
,ShapeScale
,ShapeSlider
,ShapeSVG
,ShapeText
,ShapeTextField
,ShapeTopLevelPresentationGroup
,ShapeWindow3D
,StackChart
,StopLine
,Storage
,StorageTank
,TargetLine
,TimeColorChart
,TimePlot
,TimeStackChart
,Wall
@AnyLogicInternalAPI public interface SVGElement
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
Modifier and Type | Method | Description |
---|---|---|
void | executeUserAction |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
SVGElement | findSVGElement |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
long | getSVGId() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | removeSVGFromOwner |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | resetSVGState() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
SVGElement | updateSVGProperties |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. Updates SVG properties of the element that are then sent to the rendering client. |
@AnyLogicInternalAPI long getSVGId()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI SVGElement updateSVGProperties(List<SVGCommand> output, ShapeDrawMode drawMode, boolean publicOnly, SVGElement owner, SVGElement elbehind)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
Updates SVG properties of the element that are then sent to the rendering client. If the element is not yet in the SVG scene, generates "C" command, if it is there, but some properties are out of date, generates "U" command. If SVG drawing of this element is not needed because of public only settings, or permanently not needed, or not supported yet, returns false and does nothing.
it may be removed/renamed in future.
Updates SVG properties of the element that are then sent to the rendering client. If the element is not yet in the SVG scene, generates "C" command, if it is there, but some properties are out of date, generates "U" command. If SVG drawing of this element is not needed because of public only settings, or permanently not needed, or not supported yet, returns false and does nothing.
- Parameters:
output
- the list of commands to add todrawMode
- TODOpublicOnly
- drawing context: if true, only shapes that are marked as public only are updatedowner
- the SVG element that serves as a container for this elementelbehind
- the SVG element behind this one, or null if none or if order is irrelevant- Returns:
- the actual owner this element has been added to or
null
if element is not drawn (e.g. drawing of this element is not needed because of public only settings, permanently not needed or not supported - hence SVG id is not set). The actual owner may differ from the givenowner
when the svg element is added to a different place (e.g. GIS map).
@AnyLogicInternalAPI void resetSVGState()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI SVGElement findSVGElement(long svgId)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI void executeUserAction(String value)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI void removeSVGFromOwner(Shape oldOwner)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.