<< Click to Display Table of Contents >> NShape Reference
|
vBase class for shapes used as label.
public abstract class TextShape : RectangleBase |
TextBase can but need not be used as a base class for text shapes. It provides support for the following areas:
• | Hit- and intersection testing |
• | (Re-)Calculating, transforming and resizing |
Name |
Description |
---|---|
AutoSize |
Indicates wether the shape should calculate its size according to its text. |
Height |
The height of the shape. |
Text |
The text of the shape. |
Width |
The width of the shape |
Name |
Description |
---|---|
CopyFrom |
Copies as many properties as possible from the given shape. |
Draw |
Draws the shape. |
DrawThumbnail |
Creates a thumbnail image of the shape. |
GetControlPointIds |
Implementation of Shape.GetControlPointIds. |
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 |
---|---|
CalculatePath |
Calculates the shape's graphics path at the point of origin. |
Constructors |
Constructs a new shape instance. |
InitializeToDefault |
Initializes the shape with default values. |
IntersectsWithCore |
Implementation of Shape.IntersectsWith. |
InvalidateDrawCache |
Clears all objects and buffers needed for drawing the shape so that they will be recalculated the next time. |
LoadFieldsCore |
Implementation of IEntity.LoadFields. |
SaveFieldsCore |
Implementation of IEntity.SaveFields. |
Derived classes are:
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape