TextShape Class

Represents an aligned text of certain font and color within the bounds.

Definition

Namespace: BeeMobile.LineChart
Assembly: BeeMobile.LineChart.NET48 (in BeeMobile.LineChart.NET48.dll) Version: 4.8.1.10 (4.8.1.10)
C#
public class TextShape : Shape
Inheritance
Object    Shape    TextShape

Constructors

TextShape Initializes a new instance of TextShape class.
TextShape(String) Initializes a new instance of TextShape class.
TextShape(String, Color) Initializes a new instance of TextShape class.
TextShape(String, Color, Font) Initializes a new instance of TextShape class.

Properties

Alignment Gets or sets the text alignment inside bounds
Bounds Gets or sets bounds, which represents the outline of the shape.
(Inherited from Shape)
Brush Gets or sets the brush of the shape.
(Inherited from Shape)
Center Gets or sets the center coordinates of the shape.
(Inherited from Shape)
Font Gets or sets the font of the text.
ShapeColor Gets or sets the color of the shape.
(Inherited from Shape)
Text Gets or sets the text, that will be displayed.

Methods

Dispose Releases all resources used by this object.
(Inherited from Shape)
Dispose(Boolean) Releases all resources used by this object.
(Overrides ShapeDispose(Boolean))
Draw Draws the shape.
(Overrides ShapeDraw(Graphics))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructor for this class. Disposes resources used by this class.
(Inherited from Shape)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnPropertyChanged Fires PropertyChanged event.
(Inherited from Shape)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

PropertyChanged Raised whenever a value of a property changes.
(Inherited from Shape)

See Also