Метод | Описание | |
---|---|---|
Draw ( ) : void | ||
Initialize ( List |
||
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 |
public Initialize ( List |
||
backgroundSections | List |
|
foregroundSections | List |
|
isHorizontal | bool | |
buttonText | string | |
alignment | ButtonTextAlignment | |
xPos | int | |
yPos | int | |
width | int | |
height | int | |
fixedSize | int | |
variableSize | int | |
r | ||
reason | string | |
Результат | bool |
public MouseHover ( int x, int y, float frameDeltaTime ) : bool | ||
x | int | |
y | int | |
frameDeltaTime | float | |
Результат | bool |
public ResizeButton ( int width, int height ) : void | ||
width | int | |
height | int | |
Результат | void |
public SetButtonText ( string text ) : void | ||
text | string | |
Результат | void |