<< Click to Display Table of Contents >> NShape Reference
|
Base class for square shapes.
public abstract class SquareBase : DiameterShapeBase |
SquareBase can but need not be used as a base class for square shapes. It provides support for the following areas:
• | Hit- and intersection testing |
• | (Re-)Calculating, transforming and resizing |
Name |
Description |
---|---|
Size |
The edge length defining the size of the square. |
Name |
Description |
---|---|
ControlPointCount |
The number of control points. |
Name |
Description |
---|---|
CalcControlPoints |
Calculates the (translated) position of the shape's control points. |
CalculateBoundingRectangle |
Calculates the axis aligned bounding rectangle of the shape. |
Constructors |
Constructs a new shape instance. |
ContainsPointCore |
Implementation of Shape.ContainsPoint. |
IntersectsWithCore |
Implementation of Shape.IntersectsWith. |
Requirements
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape