C# Class Beyond_Beyaan.BBUniStretchButton

Afficher le fichier Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( ) : void
Initialize ( List backgroundSections, List foregroundSections, bool isHorizontal, string buttonText, ButtonTextAlignment alignment, int xPos, int yPos, int width, int height, int fixedSize, int variableSize, Random r, string &reason ) : bool
MouseDown ( int x, int y ) : bool
MouseHover ( int x, int y, float frameDeltaTime ) : bool
MouseUp ( int x, int y ) : bool
MoveTo ( int x, int y ) : void
Reset ( ) : void
ResizeButton ( int width, int height ) : void
SetButtonText ( string text ) : void

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( List backgroundSections, List foregroundSections, bool isHorizontal, string buttonText, ButtonTextAlignment alignment, int xPos, int yPos, int width, int height, int fixedSize, int variableSize, Random r, string &reason ) : bool
backgroundSections List
foregroundSections List
isHorizontal bool
buttonText string
alignment ButtonTextAlignment
xPos int
yPos int
width int
height int
fixedSize int
variableSize int
r System.Random
reason string
Résultat bool

MouseDown() public méthode

public MouseDown ( int x, int y ) : bool
x int
y int
Résultat bool

MouseHover() public méthode

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
Résultat bool

MouseUp() public méthode

public MouseUp ( int x, int y ) : bool
x int
y int
Résultat bool

MoveTo() public méthode

public MoveTo ( int x, int y ) : void
x int
y int
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

ResizeButton() public méthode

public ResizeButton ( int width, int height ) : void
width int
height int
Résultat void

SetButtonText() public méthode

public SetButtonText ( string text ) : void
text string
Résultat void