<< Click to Display Table of Contents >> NShape Reference

Base class for shapes based on a rectangular shape.
public abstract class RectangleBase : CaptionedShapeBase 
Base class for shapes based on a diameter like circles and squares.
Name 
Description 

Height 
The height of the shape. 
Width 
The width of the shape. 
Name 
Description 

CalculateAbsolutePosition 
Calculates coordinates from the given RelativePosition. 
CalculateConnectionFoot 
Base implementation of calculating the foot of a pointtoshape connection based on the rectangular base shape. 
CalculateRelativePosition 
Calculate a RelativePosition from the given coordinates. 
CopyFrom 
Copies as many properties as possible from the source shape. 
Draw 
Draws the shape. 
Fit 
Fits the shape into the given bounds. 
GetPropertyDefinitions 
Implementation of the IEntity.GetPropertyDefinitions pseudo member. 
HasControlPointCapability 
Tests, whether a control point has at least one of a set of given capabilities. 
Name 
Description 

ControlPointCount 
Returns the number of control points. 
Name 
Description 

CalcCaptionBounds 
Calculates the untransformed area in which the caption's text is layouted. 
CalcControlPoints 
Calculates the (transformed) 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. 
InitializeToDefault 
Initializes the shape with default values. 
IntersectsWIthCore 
Implementation of Shape.IntersectsWith. 
LoadFieldsCore 
Implementation of IEntity.LoadFields. 
MovePointByCore 
Implementation of Shape.MoveControlPointBy. 
SaveFieldsCore 
Implementation of IEntity.SaveFields. 
Derived classes are:
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape