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 | |
ContainerElement () | |
Initializes a new instance of the ContainerElement class used for grouping items on screen. More... | |
ContainerElement (PointF position, SizeF size) | |
Initializes a new instance of the ContainerElement class used for grouping items on screen. More... | |
ContainerElement (PointF position, SizeF size, Color color) | |
Initializes a new instance of the ContainerElement class used for grouping items on screen. More... | |
ContainerElement (PointF position, SizeF size, Color color, bool centered) | |
Initializes a new instance of the ContainerElement class used for grouping items on screen. More... | |
virtual void | Draw () |
Draws this ContainerElement this frame. More... | |
virtual void | Draw (SizeF offset) |
Draws this ContainerElement this frame at the specified offset. More... | |
virtual void | ScaledDraw () |
Draws this ContainerElement this frame using the width returned in Screen.ScaledWidth. More... | |
virtual void | ScaledDraw (SizeF offset) |
Draws this ContainerElement this frame at the specified offset using the width returned in Screen.ScaledWidth. More... | |
Properties | |
virtual bool | Enabled [get, set] |
Gets or sets a value indicating whether this ContainerElement will be drawn. More... | |
virtual Color | Color [get, set] |
Gets or sets the color of this ContainerElement. More... | |
virtual PointF | Position [get, set] |
Gets or sets the position of this ContainerElement. More... | |
SizeF | Size [get, set] |
Gets or sets the size to draw the ContainerElement More... | |
virtual bool | Centered [get, set] |
Gets or sets a value indicating whether this ContainerElement should be positioned based on its center or top left corner More... | |
List< IElement > | Items [get] |
The IElements Contained inside this ContainerElement More... | |
Properties inherited from GTA.UI.IElement | |
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... | |
GTA.UI.ContainerElement.ContainerElement | ( | ) |
Initializes a new instance of the ContainerElement class used for grouping items on screen.
GTA.UI.ContainerElement.ContainerElement | ( | PointF | position, |
SizeF | size | ||
) |
Initializes a new instance of the ContainerElement class used for grouping items on screen.
position | Set the Position on screen where to draw the ContainerElement. |
size | Set the Size of the ContainerElement. |
GTA.UI.ContainerElement.ContainerElement | ( | PointF | position, |
SizeF | size, | ||
Color | color | ||
) |
Initializes a new instance of the ContainerElement class used for grouping items on screen.
position | Set the Position on screen where to draw the ContainerElement. |
size | Set the Size of the ContainerElement. |
color | Set the Color used to draw the ContainerElement. |
GTA.UI.ContainerElement.ContainerElement | ( | PointF | position, |
SizeF | size, | ||
Color | color, | ||
bool | centered | ||
) |
Initializes a new instance of the ContainerElement class used for grouping items on screen.
position | Set the Position on screen where to draw the ContainerElement. |
size | Set the Size of the ContainerElement. |
color | Set the Color used to draw the ContainerElement. |
centered | Position the ContainerElement based on its center instead of top left corner, see also
|
|
virtual |
Draws this ContainerElement this frame.
Implements GTA.UI.IElement.
|
virtual |
Draws this ContainerElement this frame at the specified offset.
offset | The offset to shift the draw position of this ContainerElement using a 1280*720 pixel base. |
Implements GTA.UI.IElement.
|
virtual |
Draws this ContainerElement this frame using the width returned in Screen.ScaledWidth.
Implements GTA.UI.IElement.
|
virtual |
Draws this ContainerElement this frame at the specified offset using the width returned in Screen.ScaledWidth.
offset | The offset to shift the draw position of this ContainerElement using a Screen.ScaledWidth*720 pixel base. |
Implements GTA.UI.IElement.
|
getset |
Gets or sets a value indicating whether this ContainerElement should be positioned based on its center or top left corner
true
if centered; otherwise, false
.
|
getset |
Gets or sets the color of this ContainerElement.
The color.
|
getset |
Gets or sets a value indicating whether this ContainerElement will be drawn.
true
if enabled; otherwise, false
.
|
get |
The IElements Contained inside this ContainerElement
|
getset |
Gets or sets the position of this ContainerElement.
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.
|
getset |
Gets or sets the size to draw the ContainerElement
The size on a 1280*720 pixel base
If ScaledDraw is called, the size will be scaled by the width returned in Screen.ScaledWidth.