A node which immediately follows an arc.
A node which immediately follows an arc line. This handles the rendering of the arc itself.
Public Member Functions | |
| ArcLinePoint (float x, float y) | |
| Creates a new arc node for the given point. More... | |
| override void | Transform (VectorTransform transform) |
| override void | MultiplyNormals (float by) |
| override void | RecalculateBounds (VectorPath path) |
| Recalculates the minimum values and width/height of this path, taking curves into account. More... | |
| override void | ComputeLinePoints (Scanner scanner, float extrudeBy) |
| Steps along the line between this point and previous point at a fixed step, adding the points to the scanner as it goes. More... | |
| override void | SampleAt (float t, out float x, out float y) |
| Samples this line at the given t value. More... | |
| override void | Extrude (float by) |
| Extrudes this point along its normal by the given distance. More... | |
| override VectorPoint | Copy () |
| override string | ToString () |
| override void | RenderLine (CanvasContext context) |
| Renders an arc from the previous point to this one. More... | |
Public Member Functions inherited from Blaze.VectorLine | |
| VectorLine (float x, float y) | |
Public Member Functions inherited from Blaze.VectorPoint | |
| VectorPoint () | |
| Creates an empty path node. More... | |
| VectorPoint (float x, float y) | |
| Creates a node at the given point. More... | |
| virtual void | StartNormal (out float x, out float y) |
| Gets the normal at the start of the line from this to previous. More... | |
| virtual void | EndNormal (out float x, out float y) |
| Gets the normal at the end of the line from this to previous. More... | |
| virtual void | RecalculateCurveNormals () |
| Computes the control point normals for any curves. More... | |
| VectorPoint | GetShapeEnd () |
| override string | ToString () |
| virtual void | Multiply (float by) |
| virtual void | Squash (float by) |
| virtual void | Sheer (float by) |
Public Attributes | |
| float | Radius |
| The radius of the arc. More... | |
| float | EndAngle |
| <summmary>The target angle of the arc. More... | |
| float | StartAngle |
| <summmary>The starting angle. More... | |
| float | CircleCenterX |
| The x location of the center of the circle. More... | |
| float | CircleCenterY |
| The y location of the center of the circle. More... | |
Public Attributes inherited from Blaze.VectorLine | |
| bool | Close |
| True if this was generated from a close path call. More... | |
| float | Length |
| The length of this line. Updated by RecalculateBounds. More... | |
Public Attributes inherited from Blaze.VectorPoint | |
| float | X |
| The X coordinate of this path node. More... | |
| float | Y |
| The Y coordinate of this path node. More... | |
| float | NormalX |
| The x axis of the normal at this point. More... | |
| float | NormalY |
| The y axis of the normal at this point. More... | |
| VectorPoint | Next |
| Path nodes are stored as a linked list. The one after this node. More... | |
| VectorPoint | Previous |
| Path nodes are stored as a linked list. The one before this node. More... | |
Properties | |
| override bool | IsCurve [get] |
| Is this a curve line? More... | |
Properties inherited from Blaze.VectorLine | |
| override bool | IsClose [get, set] |
| override bool | HasLine [get] |
| Is there a line from this point to the previous one? More... | |
Properties inherited from Blaze.VectorPoint | |
| virtual bool | Unloaded [get] |
| True if this path is unloaded. Used to improve font load time of large fonts. More... | |
| virtual bool | IsCurve [get] |
| Is this a curve line? More... | |
| virtual bool | HasLine [get] |
| Is there a line from this point to the previous one? More... | |
| virtual bool | IsClose [get, set] |
|
inline |
Creates a new arc node for the given point.
|
inlinevirtual |
Steps along the line between this point and previous point at a fixed step, adding the points to the scanner as it goes.
Reimplemented from Blaze.VectorPoint.
|
inlinevirtual |
Reimplemented from Blaze.VectorPoint.
|
inlinevirtual |
Extrudes this point along its normal by the given distance.
Reimplemented from Blaze.VectorPoint.
|
inlinevirtual |
Reimplemented from Blaze.VectorPoint.
|
inlinevirtual |
Recalculates the minimum values and width/height of this path, taking curves into account.
Reimplemented from Blaze.VectorPoint.
|
inlinevirtual |
Renders an arc from the previous point to this one.
Reimplemented from Blaze.VectorPoint.
|
inlinevirtual |
Samples this line at the given t value.
Reimplemented from Blaze.VectorLine.
|
inline |
|
inlinevirtual |
Reimplemented from Blaze.VectorPoint.
| float Blaze.ArcLinePoint.CircleCenterX |
The x location of the center of the circle.
| float Blaze.ArcLinePoint.CircleCenterY |
The y location of the center of the circle.
| float Blaze.ArcLinePoint.EndAngle |
<summmary>The target angle of the arc.
| float Blaze.ArcLinePoint.Radius |
The radius of the arc.
| float Blaze.ArcLinePoint.StartAngle |
<summmary>The starting angle.
|
get |
Is this a curve line?