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

Inheritance: UIAttributeParser
显示文件 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_oe property

public Color Color
return Color

CursorColor public_oe property

public Color CursorColor
return Color

DefaultButton public_oe static_oe property

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

DefaultLabel public_oe static_oe property

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

DefaultTitle public_oe static_oe property

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

DisabledColor public_oe property

public Color DisabledColor
return Color

Font public_oe property

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

HighlightedColor public_oe property

public Color HighlightedColor
return Color

SelectedColor public_oe property

public Color SelectedColor
return Color

SelectionBoxColor public_oe property

public Color SelectionBoxColor
return Color

Shadow public_oe property

public bool Shadow
return bool