C# Class UIParser.Nodes.AddTextNode

Inheritance: UINode
Mostra file Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Public Properties

Property Type Description
Alignment TextAlignment
Color ArrayListNode
FitText int?
Font int?
Highlighted int?
ID int
Name string
Opaque int?
Size ArrayListNode
Text string
TextPosition ArrayListNode
Wrapped int?

Public Methods

Method Description
Accept ( IUIVisitor visitor ) : void

Protected Methods

Method Description
InitChildren ( ParseTreeNodeList nodes ) : void

Method Details

Accept() public method

public Accept ( IUIVisitor visitor ) : void
visitor IUIVisitor
return void

InitChildren() protected method

protected InitChildren ( ParseTreeNodeList nodes ) : void
nodes ParseTreeNodeList
return void

Property Details

Alignment public_oe property

Required. Defines the alignment of this text control.
public TextAlignment Alignment
return TextAlignment

Color public_oe property

Required. Defines the font color of this text control.
public ArrayListNode,UIParser.Nodes Color
return ArrayListNode

FitText public_oe property

Defines whether or not this text should be fit into its bounding box. 1=Yes, 0=No. Default is no.
public int? FitText
return int?

Font public_oe property

Defines the font size of this text control in points.
public int? Font
return int?

Highlighted public_oe property

Defines whether or not the text in this text control is initially highlted. 1=Yes, 0=No. Default is no.
public int? Highlighted
return int?

ID public_oe property

Defines the identifier of this text control. Required.
public int ID
return int

Name public_oe property

Defines the UIS identifier of this text control.
public string Name
return string

Opaque public_oe property

Required. Defines the opacity of this text control. 1 is opaque and 0 is transparent.
public int? Opaque
return int?

Size public_oe property

Defines the dimensions of this text control. Syntax: (width,height). Required.
public ArrayListNode,UIParser.Nodes Size
return ArrayListNode

Text public_oe property

Defines a UIS string resource to use as text.
public string Text
return string

TextPosition public_oe property

Defines the position of this text control in x,y coordinates. Syntax: (x,y). Required.
public ArrayListNode,UIParser.Nodes TextPosition
return ArrayListNode

Wrapped public_oe property

Defines whether or not text wraps on to new lines. 1=Yes, 0=No. Default is no.
public int? Wrapped
return int?