Class Label
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.GuiLabel)]
public class Label : GuiElement
Constructors
|
Improve this Doc
View Source
Label(Vector2, Vector2, String, Boolean, GuiElement)
Declaration
public Label(Vector2 position, Vector2 dimensions, string content, bool relative = false, GuiElement parent = null)
Parameters
Properties
|
Improve this Doc
View Source
Color
Get and set the color of this label
Declaration
public Color Color { get; set; }
Property Value
|
Improve this Doc
View Source
Extent
Get the width the label has with this text
Declaration
public float Extent { get; }
Property Value
|
Improve this Doc
View Source
FontHeight
Declaration
public float FontHeight { get; }
Property Value
Methods
|
Improve this Doc
View Source
SetHorizontalAlign(HorizontalAlign, Boolean)
Set the horizontal alignment of text
Declaration
public bool SetHorizontalAlign(HorizontalAlign alignment, bool wordWrap = false)
Parameters
Returns
|
Improve this Doc
View Source
SetVerticalAlign(VerticalAlign)
Set the vertical alignment of text
Declaration
public bool SetVerticalAlign(VerticalAlign alignment)
Parameters
Returns