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/
GTA.UI.ISpriteElement Interface Reference
Inheritance diagram for GTA.UI.ISpriteElement:
GTA.UI.IElement GTA.UI.CustomSprite GTA.UI.Sprite

Properties

SizeF Size [get, set]
 Gets or sets the size to draw the ISpriteElement More...
 
float Rotation [get, set]
 Gets or sets the rotation to draw thie ISpriteElement. 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...
 

Additional Inherited Members

- Public Member Functions inherited from GTA.UI.IElement
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...
 

Property Documentation

◆ Rotation

float GTA.UI.ISpriteElement.Rotation
getset

Gets or sets the rotation to draw thie ISpriteElement.

The rotation measured in degrees, clockwise increasing, 0.0 at vertical

◆ Size

SizeF GTA.UI.ISpriteElement.Size
getset

Gets or sets the size to draw the ISpriteElement

The size on a 1280*720 pixel base

If ScaledDraw is called, the size will be scaled by the width returned in Screen.ScaledWidth.


The documentation for this interface was generated from the following file: