<< Click to Display Table of Contents >> NShape Reference
|
Base class for most of the shapes containing text in the standard libraries and custom libraries.
public abstract class CaptionedShapeBase : PathBasedPlanarShape, ICaptionedShape |
CaptionedShapeBase can but need not be used as a base class for shapes containing text. It provides support for the following areas:
• | ICaptionedShape implementation for one caption |
• | (Re-)Calculating, transforming and drawing text |
Name |
Description |
---|---|
CaptionCount |
Specifies the number of captions of the shape. |
CharacterStyle |
Specifies the character style of the shape's text. |
ParagraphStyle |
Specifies the paragraph style of the shape's text. |
Text |
Specifies the shape's text. |
Name |
Description |
---|---|
Copies as many properties as possible from the source shape. |
|
FindCaptionFromPoint |
Returns the index of the caption under the given point. |
GetCaptionBounds |
Gets the maximum area the indicated caption's text can occupy. |
GetCaptionCharacterStyle |
Gets the character style of the indicated caption. |
GetCaptionParagraphStyle |
Gets the paragraph style of the indicated caption. |
GetCaptionText |
Gets the indicated caption's text. |
GetCaptionTextBounds |
Gets the indicated caption's text bounds. |
GetPropertyDefinitions |
Implementation of the IEntity.GetPropertyDefinitions pseudo member. |
Transforms the shape into a preview shape. |
|
NotifyStyleChanged |
Notifies the shape that the given style has changed. |
SetCaptionCharacterStyle |
Sets the character style of the indicated caption. |
SetCaptionParagraphStyle |
Sets the paragraph style of the indicated caption. |
SetCaptionText |
Sets the indicated caption's text. |
Name |
Description |
---|---|
CalcCaptionBounds |
Calculates the untransformed area in which the caption's text is layouted. |
CalculateBoundingRectangle |
Calculates the axis aligned bounding rectangle of the shape. |
CalculatePath |
Implementation of calculating a GraphicsPath for the shape's text. |
Constructors |
Construct a new shape. |
DrawCaption |
Draws the shape's text. |
InitializeToDefault |
Initializes the shape with default values. |
LoadFieldsCore |
Implementation of IEntity.LoadFields. |
ProcessExecModelPropertyChange |
Implementation of reacting to model property changes |
SaveFieldsCore |
Implementation of IEntity.SaveFields. |
TransformDrawCache |
Transforms all objects and buffers to the current position and angle. |
Derived classes are:
Namespace: Dataweb.NShape.Advanced
Assembly: Dataweb.NShape