Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Experimental
Set the icon origin to ensure that, on the shape, the icon is horizontally centered and vertically aligned to the bottom.
Experimental
Set the icon origin to ensure that the icon is centered on the shape.
Experimental
Set the icon origin to the top left corner of the shape.
Experimental
Experimental
Experimental
Experimental
Translate the icon origin using the scale factor associated to the horizontal and vertical directions.
The values should be given with using the icon original size (as translated values will be scaled as other values passed to method of this class).
the horizontal translation
the vertical translation
Wrapper of
mxAbstractCanvas2D
to simplify method calls when painting icons/markers of BPMN shapes.It can scale dimensions passed to the method of the original
mxAbstractCanvas2D
.WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.
Example
The vanilla canvas calls when a scale factor must be applied to position
Example
With
BpmnCanvas