An NDoc Documented Class Library

TextObject Members

TextObject overview

Public Instance Constructors

TextObject Constructor Initializes a new instance of the TextObject class.

Public Instance Fields

FontName 
GenerateNames (inherited from MNComponent) If GenerateNames is true then a MNName willbe generated if the parent is set to a component with has no name. With GenerateNames is guarantized, the every member of a tree ( except the root ) has a unique name and there is a fullpath, with that the element can be identified.
Loca 
Transformation 
UpDateCount (inherited from MNComponent) 

Public Instance Properties

A 
B 
Count (inherited from MNComponent) Returns the count of children
FontScaleX 
FontScaleY 
Item (inherited from MNComponent) The default indexer retieves and sets MNComponents
MNName (inherited from MNComponent) Name of the component.
Parent (inherited from MNComponent) Sets or gets the parent of the component and looks for the correct and unique name.
See also GenerateNames, setParent
Tag (inherited from MNComponent) 
Text 

Public Instance Methods

addChild (inherited from MNComponent) Adds an elment in the list.
ChildByName (inherited from MNComponent) Retrieves the index of child by a name.
ChildByPathName (inherited from MNComponent) You can get a MNComponent by setting a fullpath relative to the given MNComponent. Separated are the names by "/".
MNComponent root = new MNComponent();
MNComponent a = new MNComponent();
MNComponent b = new MNComponent();
MNComponent c = new MNComponent();
a.MNName = "Frank";
b.MNName = "Joe";
c.MNName = "Sam";
c.Parent = b;
b.Parent = a;
a.Parent = root;
MNComponent d = root.ChildByPathName("Frank/Joe/Sam");
// d is then the component c

Dispose (inherited from MNComponent) 
Draw 
Equals (inherited from Object) 
fullPath (inherited from MNComponent) Gives the full path of the component over all ancestors until a null-parent occurs. This parent often called the root. The separator of the names is "/".
GetEnumerator (inherited from MNComponent) Returns the Enumerator of an intern ArrayList
GetHashCode (inherited from Object) 
GetInvert 
getPath (inherited from MNComponent) 
getRoot (inherited from MNComponent) 
GetTextExtent 
GetType (inherited from Object) 
InsertChild (inherited from MNComponent) 
MoveTO (inherited from MNComponent) 
RemoveChild (inherited from MNComponent) 
SetInvert 
ToString (inherited from Object) 
Transform 
UpDate (inherited from MNComponent) This protected method is called, if some changes are made. Some times on should inform other components about this changes to obtain a consisting system.
UpDated (inherited from MNComponent) If you make some changing in the component you should call first
UpDating()
..Change some things
UpDated()
In this case the method UpDate will be called only one time. Internal a counter will be incremented for UpDating and decremented by UpDated. If he is 0 then UpDate is called. See UpDating
UpdateLoca 
UpDating (inherited from MNComponent) If you make some changing in the component you should call first
UpDating()
..Change some things
UpDated()
In this case the method UpDate will be called only one time. Internal a counter will be incremented for UpDating and decremented by UpDated. If he is 0 then UpDate is called. See UpDated

Public Instance Events

OnUpdate (inherited from MNComponent) 
OnUpdating (inherited from MNComponent) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 
setParent (inherited from MNComponent) Virtual set-Method of the property Parent.

See Also

TextObject Class | Minais.Drawing3d Namespace