C# Class Beyond_Beyaan.BBLabel

Datei anzeigen Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Public Methods

Method Description
Draw ( ) : void
GetHeight ( ) : float
GetWidth ( ) : float
Initialize ( int x, int y, string label, Color color, string &reason ) : bool
Initialize ( int x, int y, string label, Color color, string fontName, string &reason ) : bool
MoveTo ( int x, int y ) : void
SetAlignment ( bool isRightAligned ) : void
SetColor ( Color color, Color outline ) : void
SetText ( string text ) : bool
SetText ( string text, string fontName ) : bool

Private Methods

Method Description
RefreshText ( string text ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

GetHeight() public method

public GetHeight ( ) : float
return float

GetWidth() public method

public GetWidth ( ) : float
return float

Initialize() public method

public Initialize ( int x, int y, string label, Color color, string &reason ) : bool
x int
y int
label string
color Color
reason string
return bool

Initialize() public method

public Initialize ( int x, int y, string label, Color color, string fontName, string &reason ) : bool
x int
y int
label string
color Color
fontName string
reason string
return bool

MoveTo() public method

public MoveTo ( int x, int y ) : void
x int
y int
return void

SetAlignment() public method

public SetAlignment ( bool isRightAligned ) : void
isRightAligned bool
return void

SetColor() public method

public SetColor ( Color color, Color outline ) : void
color Color
outline Color
return void

SetText() public method

public SetText ( string text ) : bool
text string
return bool

SetText() public method

public SetText ( string text, string fontName ) : bool
text string
fontName string
return bool