Blaze.MoveToPoint Class Reference
Inheritance diagram for Blaze.MoveToPoint:
Blaze.VectorPoint

Public Member Functions

 MoveToPoint (float x, float y)
 Creates a MoveTo node at the given point. 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 VectorPoint Copy ()
 
override string ToString ()
 
- 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 MultiplyNormals (float by)
 
virtual void RecalculateBounds (VectorPath path)
 Recalculates the minimum values and width/height of this path, taking curves into account. 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...
 
virtual void Extrude (float by)
 Extrudes this point along its normal by the given distance. More...
 
VectorPoint GetShapeEnd ()
 
virtual void Transform (VectorTransform transform)
 
override string ToString ()
 
virtual void Multiply (float by)
 
virtual void Squash (float by)
 
virtual void Sheer (float by)
 
virtual void RenderLine (CanvasContext context)
 Used internally. Renders the line between this point and the next one, if there is one. More...
 

Public Attributes

VectorPoint ClosePoint
 The point which closes and connects to here. Note that it's always a node "on top" of this one. 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...
 

Additional Inherited Members

- 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]
 

Constructor & Destructor Documentation

Blaze.MoveToPoint.MoveToPoint ( float  x,
float  y 
)
inline

Creates a MoveTo node at the given point.

Parameters
xThe X coordinate of this path node.
yThe Y coordinate of this path node.

Member Function Documentation

override void Blaze.MoveToPoint.ComputeLinePoints ( Scanner  scanner,
float  extrudeBy 
)
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.

override VectorPoint Blaze.MoveToPoint.Copy ( )
inlinevirtual

Reimplemented from Blaze.VectorPoint.

override string Blaze.MoveToPoint.ToString ( )
inline

Member Data Documentation

VectorPoint Blaze.MoveToPoint.ClosePoint

The point which closes and connects to here. Note that it's always a node "on top" of this one.