An engine that creates AnchorShape.
- Attributes
Depends on the `type`.
- Contents
Depends on the `type`.
- Result
- An AnchorShape.
Types
- triangle
- Draws a triangle of the given `size`, it can be `filled` or `output`.
- arrow
- Creates an arrow of the given `size` with a specified angle using the attribute `degrees`.
- image
- Draws the given `image` which can be `lineOriented`.
- bar
- Attributes are: `filled`, `fillColor`, `size`, `stroke` and `width.
- circle
- Attributes are: `filled`, `fillColor`, `radius` and `stroke`.
- segment
- Attributes are: `filled`, `fillColor`, `dx`, `dy`, `inside` and `stroke`. See SegmentArrowAnchorShape.
- quad
- Attributes are: `filled`, `fillColor`, `centerSize`, `endSize`, `height` and `stroke`. See QuadAnchorShape.
- square
- Attributes are: `filled`, `fillColor`, `size` and `stroke`.
- void
- Attributes are: `draw` (whether to draw a line,
false
by default), `radius` and `stroke`.
- x
- Attributes are: `size` and `stroke`.
- sequence
- Puts the contained shaped in a sequence. There is an attribute `initialGap` for the size of the initial gap.
- overlay
- Stacks the contained shapes one on top of another.
- Author:
- kma