SHVDN
v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
|
Public Member Functions | |
void | Draw () |
Draws this IElement this frame. More... | |
void | Draw (SizeF offset) |
Draws this IElement this frame at the specified offset. More... | |
void | ScaledDraw () |
Draws this IElement this frame using the width returned in Screen.ScaledWidth. More... | |
void | ScaledDraw (SizeF offset) |
Draws this IElement this frame at the specified offset using the width returned in Screen.ScaledWidth. More... | |
Properties | |
bool | Enabled [get, set] |
Gets or sets a value indicating whether this IElement will be drawn. More... | |
Color | Color [get, set] |
Gets or sets the color of this IElement. More... | |
PointF | Position [get, set] |
Gets or sets the position of this IElement. More... | |
bool | Centered [get, set] |
Gets or sets a value indicating whether this IElement should be positioned based on its center or top left corner More... | |
void GTA.UI.IElement.Draw | ( | ) |
Draws this IElement this frame.
Implemented in GTA.UI.TextElement, GTA.UI.Sprite, GTA.UI.CustomSprite, and GTA.UI.ContainerElement.
void GTA.UI.IElement.Draw | ( | SizeF | offset | ) |
Draws this IElement this frame at the specified offset.
offset | The offset to shift the draw position of this IElement using a 1280*720 pixel base. |
Implemented in GTA.UI.TextElement, GTA.UI.Sprite, GTA.UI.CustomSprite, and GTA.UI.ContainerElement.
void GTA.UI.IElement.ScaledDraw | ( | ) |
Draws this IElement this frame using the width returned in Screen.ScaledWidth.
Implemented in GTA.UI.TextElement, GTA.UI.Sprite, GTA.UI.CustomSprite, and GTA.UI.ContainerElement.
void GTA.UI.IElement.ScaledDraw | ( | SizeF | offset | ) |
Draws this IElement this frame at the specified offset using the width returned in Screen.ScaledWidth.
offset | The offset to shift the draw position of this IElement using a Screen.ScaledWidth*720 pixel base. |
Implemented in GTA.UI.TextElement, GTA.UI.Sprite, GTA.UI.CustomSprite, and GTA.UI.ContainerElement.
|
getset |
Gets or sets a value indicating whether this IElement should be positioned based on its center or top left corner
true
if centered; otherwise, false
.
|
getset |
Gets or sets the color of this IElement.
The color.
|
getset |
Gets or sets a value indicating whether this IElement will be drawn.
true
if enabled; otherwise, false
.
|
getset |
Gets or sets the position of this IElement.
The position scaled on a 1280*720 pixel base.
If ScaledDraw is called, the position will be scaled by the width returned in Screen.ScaledWidth.