Defines a text for drawing. More...
Public Member Functions | |
| Text (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| Text () | |
| Constructor. | |
| Text (cadex.UTF16String theText) | |
| Constructor. | |
| void | SetText (cadex.UTF16String theText) |
| Sets a text. | |
| cadex.UTF16String | GetText () |
| Returns a text. | |
| void | SetTextOrigin (cadex.Geom.Point2d theTextOrigin) |
| Sets a position of the text. | |
| cadex.Geom.Point2d | TextOrigin () |
| Returns a position of the text on the 2D plane. | |
| void | SetFontSize (float theFontSize) |
| float | FontSize () |
| Returns 16 by default. | |
| void | SetTextProperties (cadex.Drawing.Text.Properties theTextProperties) |
| Sets the properties of dimension text. | |
| cadex.Drawing.Text.Properties | TextProperties () |
| Returns the properties of dimension text. | |
Public Member Functions inherited from cadex.Drawing.Element | |
| Element (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | SetUuid (System.Guid theUuid) |
| System.Guid | Uuid () |
| void | Accept (cadex.Drawing.ElementVisitor theVisitor) |
Public Member Functions inherited from cadex.BaseObject | |
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| bool | IsNull () |
| ulong | Id () |
| Return unique identifier of public object. | |
| bool | IsEqual (cadex.BaseObject theObj) |
| override int | GetHashCode () |
| override bool | Equals (System.Object o) |
Static Public Member Functions | |
| static new bool | CompareType (cadex.BaseObject theObject) |
| static cadex.Drawing.Text | Cast (cadex.Drawing.Element theBase) |
Static Public Member Functions inherited from cadex.Drawing.Element | |
| static bool | CompareType (cadex.BaseObject theObject) |
| Returns true if theObject has the Element type. | |
| static cadex.Drawing.Element | Cast (cadex.BaseObject theBase) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Defines a text for drawing.
|
inline |
Constructor.
|
inline |
Constructor.
|
inlineprotectedvirtual |
Reimplemented from cadex.Drawing.Element.
|
inline |
Returns 16 by default.
Returns size of the font in points.
|
inline |
Returns a text.
|
inline |
Sets a text.
|
inline |
Sets a position of the text.
|
inline |
Sets the properties of dimension text.
|
inline |
Returns a position of the text on the 2D plane.
|
inline |
Returns the properties of dimension text.