C# Class Beyond_Beyaan.BBLabel

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

Méthodes publiques

Méthode 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

Méthode Description
RefreshText ( string text ) : void

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

GetHeight() public méthode

public GetHeight ( ) : float
Résultat float

GetWidth() public méthode

public GetWidth ( ) : float
Résultat float

Initialize() public méthode

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

Initialize() public méthode

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
Résultat bool

MoveTo() public méthode

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

SetAlignment() public méthode

public SetAlignment ( bool isRightAligned ) : void
isRightAligned bool
Résultat void

SetColor() public méthode

public SetColor ( Color color, Color outline ) : void
color Color
outline Color
Résultat void

SetText() public méthode

public SetText ( string text ) : bool
text string
Résultat bool

SetText() public méthode

public SetText ( string text, string fontName ) : bool
text string
fontName string
Résultat bool