Constructors
Properties
Methods
Arc
#Add an arc to this icon.
Arrow
#Add a standard fixed arrow shape to this icon. This method adds a line (for the arrowshaft) and a polyline (for the arrowhead).
Parameters:
| tail (PointF) | Tail point. |
| tip (PointF) | Tip point. |
| size (float) | Size of arrowhead. |
Bezier
#Add a bezier curve to this icon.
Bezier
#Add a bezier curve to this icon.
Parameters:
| a (PointF) | |
| b (PointF) | |
| c (PointF) | |
| d (PointF) | |
| state (string = null) |
Box
#Add a rectangle to this icon.
Circle
#Add a circle to this icon.
Circle
#Add a circle to this icon.
Curve
#Add a polyarc curve to this icon. Polyarcs are curves consisting of lines and circular arcs. Consecutive points are always connected with a straight line, consecutive points with an angle or direction constraint in between them are connected by a tangent arc.
Parameters:
| vertices (params object[]) | Array of vertices. A vertex is either a coordinate indicating an actual corner on the compound, or a tangency constraint indicating the start tangent of the next segment. Coordinates must be specified as either Point or PointF, tangency constraints must be either Size, SizeF, or Angle, specified clockwise from positive x. |
Ellipse
#Add an ellipse to this icon.
Ellipse
#Add an ellipse to this icon.
Line
#Add a line to this icon.
Line
#Add a line to this icon.
Lune
#Add a lune to this icon. A lune is an arc with an elliptic arc on the inside, like the lit part of the crescent or gibbous moon.
PainterDelegate
#Gets a painting delegate for this builder.
Polyline
#public void Polyline(params PointF[] vertices)
Add a polyline to this icon.
Parameters:
| vertices (params PointF[]) |
State
#Add an icon state with a unit domain initialised to one.
Parameters:
| name (string) | Name of state to add. |
Text
#Add regular text to this icon.
TextBold
#Add bold text to this icon.
TextItalic
#Add italic text to this icon.
WithEdge
#Set the current edge state and returns a disposable object for using blocks.
Parameters:
| colour (Color) | Edge colour. |
| thickness (float) | Edge thickness. |
Returns: Disposable state.
WithEdge
#Set the current edge state and returns a disposable object for using blocks.
Parameters:
| edge (Edge) | Edge to set. |
Returns: Disposable state.
WithEdge
#Set the current edge state and returns a disposable object for using blocks.
Parameters:
| thickness (float) | Thickness of edge. |
Returns: Disposable state.
WithFill
#Set the current fill state and returns a disposable object for using blocks.
Parameters:
| colour (Color) | Fill colour to set. |
Returns: Disposable state.
WithFill
#Set the current fill state and returns a disposable object for using blocks.
Parameters:
| fill (Fill) | Fill to set. |
Returns: Disposable state.
WithFill
#Set the current fill state and returns a disposable object for using blocks.
Parameters:
| colour (Kel) | Fill colour to set. |
Returns: Disposable state.
WithOrder
#Set the current draw order and returns a disposable object for using blocks.
Parameters:
| order (FillEdgeOrder) | Order to set. |
Returns: Disposable state.