C# Class Nez.UI.ButtonStyle

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

Public Properties

Property Type Description
pressedOffsetX float
up IDrawable

Public Methods

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

Method Details

ButtonStyle() public method

public ButtonStyle ( ) : System
return System

ButtonStyle() public method

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

clone() public method

public clone ( ) : ButtonStyle
return ButtonStyle

create() public static method

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

Property Details

pressedOffsetX public property

public float pressedOffsetX
return float

up public property

public IDrawable up
return IDrawable