Class GuiElement
Assembly: SlipeClient.dll
Syntax
public abstract class GuiElement : Element
Properties
|
Improve this Doc
View Source
Alpha
Get and set the alpha of this GUI element
Declaration
public float Alpha { get; set; }
Property Value
|
Improve this Doc
View Source
Content
Get and set the text value
Declaration
public string Content { get; set; }
Property Value
|
Improve this Doc
View Source
CustomFont
Get and set the custom font of this element
Declaration
public GuiFont CustomFont { get; set; }
Property Value
|
Improve this Doc
View Source
Enabled
Get and set if this element is enabled
Declaration
public bool Enabled { get; set; }
Property Value
|
Improve this Doc
View Source
Position
Get and set the absolute position of this element on the screen
Declaration
public Vector2 Position { get; set; }
Property Value
|
Improve this Doc
View Source
RelativePosition
Get and set the relative position of this element to its parent
Declaration
public Vector2 RelativePosition { get; set; }
Property Value
|
Improve this Doc
View Source
RelativeSize
Get and set the relative size of this element to its parent
Declaration
public Vector2 RelativeSize { get; set; }
Property Value
|
Improve this Doc
View Source
Size
Get and set the absolute size of this element on the screen
Declaration
public Vector2 Size { get; set; }
Property Value
|
Improve this Doc
View Source
StandardFont
Get and set the standard font of this element
Declaration
public StandardGuiFont StandardFont { get; set; }
Property Value
|
Improve this Doc
View Source
Visible
Get and set if this GUI element is visible
Declaration
public bool Visible { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Blur()
Declaration
Returns
|
Improve this Doc
View Source
BringToFront()
This function brings a Gui element on top of others.
Declaration
public bool BringToFront()
Returns
|
Improve this Doc
View Source
Focus()
Focus on this Gui Element
Declaration
Returns
|
Improve this Doc
View Source
GetProperty(String)
Declaration
public string GetProperty(string property)
Parameters
Type |
Name |
Description |
String |
property |
|
Returns
|
Improve this Doc
View Source
MoveToBack()
This function moves a GUI element to the very back of all other GUI elements.
Declaration
Returns
|
Improve this Doc
View Source
SetProperty(String, String)
Declaration
public bool SetProperty(string property, string value)
Parameters
Returns
Events
|
Improve this Doc
View Source
OnBlur
Declaration
public event GuiElement.OnBlurHandler OnBlur
Event Type
|
Improve this Doc
View Source
OnClick
Declaration
public event GuiElement.OnClickHandler OnClick
Event Type
|
Improve this Doc
View Source
OnDoubleClick
Declaration
public event GuiElement.OnDoubleClickHandler OnDoubleClick
Event Type
|
Improve this Doc
View Source
OnFocus
Declaration
public event GuiElement.OnFocusHandler OnFocus
Event Type
|
Improve this Doc
View Source
OnMouseDown
Declaration
public event GuiElement.OnMouseDownHandler OnMouseDown
Event Type
|
Improve this Doc
View Source
OnMouseEnter
Declaration
public event GuiElement.OnMouseEnterHandler OnMouseEnter
Event Type
|
Improve this Doc
View Source
OnMouseLeave
Declaration
public event GuiElement.OnMouseLeaveHandler OnMouseLeave
Event Type
|
Improve this Doc
View Source
OnMouseMove
Declaration
public event GuiElement.OnMouseMoveHandler OnMouseMove
Event Type
|
Improve this Doc
View Source
OnMouseUp
Declaration
public event GuiElement.OnMouseUpHandler OnMouseUp
Event Type
|
Improve this Doc
View Source
OnMouseWheel
Declaration
public event GuiElement.OnMouseWheelHandler OnMouseWheel
Event Type
|
Improve this Doc
View Source
OnMove
Declaration
public event GuiElement.OnMoveHandler OnMove
Event Type
|
Improve this Doc
View Source
OnResize
Declaration
public event GuiElement.OnResizeHandler OnResize
Event Type