<< Click to Display Table of Contents >> NShape Reference
|
Base class for diamond shapes.
public abstract class DiamondBase : RectangleBase |
DiamondBase can but need not be used as a base class for diamond shapes. It provides support for the following areas:
• | Hit- and intersection testing |
• | (Re-)Calculating, transforming and resizing |
Name |
Description |
---|---|
CalculateConnectionFoot |
Implementation of calculating the foot of a point-to-shape connection. |
HasControlPointCapability |
Tests, whether a control point has at least one of a set of given capabilities. |
Name |
Description |
---|---|
ControlPointCount |
The number of control points. |
pointBuffer |
Point array used as buffer for calculating the shape's graphics path. |
Name |
Description |
---|---|
CalcCaptionBounds |
Calculates the untransformed area in which the caption's text is layouted. |
CalcControlPoints |
Calculates the (translated) position of the shape's control points. |
CalculateBoundingRectangle |
Calculates the axis aligned bounding rectangle of the shape. |
CalculatePath |
Calculates the GraphicsPath for the shape at the point of origin. |
Constructors |
Constructs a new shape instance. |
ContainsPointCore |
Implementation of Shape.ContainsPoint. |
IntersectsWithCore |
Implementation of Shape.IntersectsWith. |
Requirements
Namespace: Dataweb.NShape.Advanced
Assembly: Dataweb.NShape