C# Class FSO.Client.UI.Framework.TextStyle

Inheritance: UIAttributeParser
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Color Color
CursorColor Color
DefaultButton TextStyle
DefaultLabel TextStyle
DefaultTitle TextStyle
DisabledColor Color
Font Font
HighlightedColor Color
SelectedColor Color
SelectionBoxColor Color
Shadow bool

Public Methods

Method Description
Clone ( ) : TextStyle
GetColor ( UIElementState state ) : Color
MeasureString ( string text ) : Vector2

Private Methods

Method Description
UIAttributeParser ( UINode node ) : void

Method Details

Clone() public method

public Clone ( ) : TextStyle
return TextStyle

GetColor() public method

public GetColor ( UIElementState state ) : Color
state UIElementState
return Color

MeasureString() public method

public MeasureString ( string text ) : Vector2
text string
return Vector2

Property Details

Color public property

public Color Color
return Color

CursorColor public property

public Color CursorColor
return Color

DefaultButton public static property

public static TextStyle,FSO.Client.UI.Framework DefaultButton
return TextStyle

DefaultLabel public static property

public static TextStyle,FSO.Client.UI.Framework DefaultLabel
return TextStyle

DefaultTitle public static property

public static TextStyle,FSO.Client.UI.Framework DefaultTitle
return TextStyle

DisabledColor public property

public Color DisabledColor
return Color

Font public property

public Font,FSO.Client.UI.Framework Font
return Font

HighlightedColor public property

public Color HighlightedColor
return Color

SelectedColor public property

public Color SelectedColor
return Color

SelectionBoxColor public property

public Color SelectionBoxColor
return Color

Shadow public property

public bool Shadow
return bool