Hide menu
Loading...
Searching...
No Matches

Defines a text for drawing. More...

Inheritance diagram for cadex.Drawing.Text:
cadex.Drawing.Element cadex.BaseObject

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 size of the font in points.
 
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)
 

Detailed Description

Defines a text for drawing.

Example of text

Member Function Documentation

◆ Dispose()

override void cadex.Drawing.Text.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.Drawing.Element.

◆ FontSize()

float cadex.Drawing.Text.FontSize ( )
inline

Returns size of the font in points.

Returns 16 by default.