C# Class Nez.UI.TextButtonStyle

The style for a text button
Inheritance: ButtonStyle
Show file Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
downFontColor Color?
font BitmapFont
fontColor Color

Public Methods

Method Description
TextButtonStyle ( ) : System
TextButtonStyle ( IDrawable up, IDrawable down, IDrawable over ) : System
TextButtonStyle ( IDrawable up, IDrawable down, IDrawable over, BitmapFont font ) : System
clone ( ) : TextButtonStyle
create ( Color upColor, Color downColor, Color overColor ) : TextButtonStyle

Method Details

TextButtonStyle() public method

public TextButtonStyle ( ) : System
return System

TextButtonStyle() public method

public TextButtonStyle ( IDrawable up, IDrawable down, IDrawable over ) : System
up IDrawable
down IDrawable
over IDrawable
return System

TextButtonStyle() public method

public TextButtonStyle ( IDrawable up, IDrawable down, IDrawable over, BitmapFont font ) : System
up IDrawable
down IDrawable
over IDrawable
font BitmapFont
return System

clone() public method

public clone ( ) : TextButtonStyle
return TextButtonStyle

create() public static method

public static create ( Color upColor, Color downColor, Color overColor ) : TextButtonStyle
upColor Color
downColor Color
overColor Color
return TextButtonStyle

Property Details

downFontColor public property

public Color? downFontColor
return Color?

font public property

public BitmapFont font
return BitmapFont

fontColor public property

public Color fontColor
return Color