C# Class FairyGUI.Utils.HtmlElement

Afficher le fichier Open project: fairygui/FairyGUI-unity Class Usage Examples

Méthodes publiques

Свойство Type Description
format TextFormat
htmlObject IHtmlObject
name string
position UnityEngine.Vector2
space int
status int
text string
type HtmlElementType

Méthodes publiques

Méthode Description
FetchAttributes ( ) : void
Get ( string attrName ) : object
GetBool ( string attrName ) : bool
GetBool ( string attrName, bool defValue ) : bool
GetColor ( string attrName, Color defValue ) : Color
GetElement ( HtmlElementType type ) : HtmlElement
GetFloat ( string attrName ) : float
GetFloat ( string attrName, float defValue ) : float
GetInt ( string attrName ) : int
GetInt ( string attrName, int defValue ) : int
GetString ( string attrName ) : string
GetString ( string attrName, string defValue ) : string
HtmlElement ( ) : System.Collections
ReturnElement ( HtmlElement element ) : void
ReturnElements ( List elements ) : void
Set ( string attrName, object attrValue ) : void

Method Details

FetchAttributes() public méthode

public FetchAttributes ( ) : void
Résultat void

Get() public méthode

public Get ( string attrName ) : object
attrName string
Résultat object

GetBool() public méthode

public GetBool ( string attrName ) : bool
attrName string
Résultat bool

GetBool() public méthode

public GetBool ( string attrName, bool defValue ) : bool
attrName string
defValue bool
Résultat bool

GetColor() public méthode

public GetColor ( string attrName, Color defValue ) : Color
attrName string
defValue UnityEngine.Color
Résultat UnityEngine.Color

GetElement() public static méthode

public static GetElement ( HtmlElementType type ) : HtmlElement
type HtmlElementType
Résultat HtmlElement

GetFloat() public méthode

public GetFloat ( string attrName ) : float
attrName string
Résultat float

GetFloat() public méthode

public GetFloat ( string attrName, float defValue ) : float
attrName string
defValue float
Résultat float

GetInt() public méthode

public GetInt ( string attrName ) : int
attrName string
Résultat int

GetInt() public méthode

public GetInt ( string attrName, int defValue ) : int
attrName string
defValue int
Résultat int

GetString() public méthode

public GetString ( string attrName ) : string
attrName string
Résultat string

GetString() public méthode

public GetString ( string attrName, string defValue ) : string
attrName string
defValue string
Résultat string

HtmlElement() public méthode

public HtmlElement ( ) : System.Collections
Résultat System.Collections

ReturnElement() public static méthode

public static ReturnElement ( HtmlElement element ) : void
element HtmlElement
Résultat void

ReturnElements() public static méthode

public static ReturnElements ( List elements ) : void
elements List
Résultat void

Set() public méthode

public Set ( string attrName, object attrValue ) : void
attrName string
attrValue object
Résultat void

Property Details

format public_oe property

public TextFormat format
Résultat TextFormat

htmlObject public_oe property

public IHtmlObject htmlObject
Résultat IHtmlObject

name public_oe property

public string name
Résultat string

position public_oe property

public Vector2,UnityEngine position
Résultat UnityEngine.Vector2

space public_oe property

public int space
Résultat int

status public_oe property

public int status
Résultat int

text public_oe property

public string text
Résultat string

type public_oe property

public HtmlElementType type
Résultat HtmlElementType