| 
    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/ 
   | 
 
A sprite element using a built-in texture. More...
Public Member Functions | |
| Sprite (string textureDict, string textureName, SizeF size, PointF position) | |
| Initializes a new instance of the Sprite class used for drawing in game textures on the screen.  More... | |
| Sprite (string textureDict, string textureName, SizeF size, PointF position, Color color) | |
| Initializes a new instance of the Sprite class used for drawing in game textures on the screen.  More... | |
| Sprite (string textureDict, string textureName, SizeF size, PointF position, Color color, float rotation) | |
| Initializes a new instance of the Sprite class used for drawing in game textures on the screen.  More... | |
| Sprite (string textureDict, string textureName, SizeF size, PointF position, Color color, float rotation, bool centered) | |
| Initializes a new instance of the Sprite class used for drawing in game textures on the screen.  More... | |
| void | Dispose () | 
| virtual void | Draw () | 
| Draws this Sprite.  More... | |
| virtual void | Draw (SizeF offset) | 
| Draws the Sprite at the specified offset.  More... | |
| virtual void | ScaledDraw () | 
| Draws this Sprite using the width returned in Screen.ScaledWidth.  More... | |
| virtual void | ScaledDraw (SizeF offset) | 
| Draws the Sprite at the specified offset using the width returned in Screen.ScaledWidth.  More... | |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) | 
Properties | |
| bool | Enabled [get, set] | 
| Gets or sets a value indicating whether this Sprite will be drawn.  More... | |
| Color | Color [get, set] | 
| Gets or sets the color of this Sprite.  More... | |
| PointF | Position [get, set] | 
| Gets or sets the position of this Sprite.  More... | |
| SizeF | Size [get, set] | 
| Gets or sets the size to draw the Sprite  More... | |
| float | Rotation [get, set] | 
| Gets or sets the rotation to draw thie Sprite.  More... | |
| bool | Centered [get, set] | 
| Gets or sets a value indicating whether this Sprite should be positioned based on its center or top left corner  More... | |
  Properties inherited from GTA.UI.ISpriteElement | |
| 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... | |
A sprite element using a built-in texture.
| GTA.UI.Sprite.Sprite | ( | string | textureDict, | 
| string | textureName, | ||
| SizeF | size, | ||
| PointF | position | ||
| ) | 
Initializes a new instance of the Sprite class used for drawing in game textures on the screen.
| GTA.UI.Sprite.Sprite | ( | string | textureDict, | 
| string | textureName, | ||
| SizeF | size, | ||
| PointF | position, | ||
| Color | color | ||
| ) | 
Initializes a new instance of the Sprite class used for drawing in game textures on the screen.
| GTA.UI.Sprite.Sprite | ( | string | textureDict, | 
| string | textureName, | ||
| SizeF | size, | ||
| PointF | position, | ||
| Color | color, | ||
| float | rotation | ||
| ) | 
Initializes a new instance of the Sprite class used for drawing in game textures on the screen.
| textureDict | The Texture dictionary where the Sprite is stored (the *.ytd file). | 
| textureName | Name of the Sprite inside the Texture dictionary. | 
| size | Set the Size of the Sprite. | 
| position | Set the Position on screen where to draw the Sprite. | 
| color | Set the Color used to draw the Sprite. | 
| rotation | Set the rotation to draw the sprite, measured in degrees, see also 
  | 
| GTA.UI.Sprite.Sprite | ( | string | textureDict, | 
| string | textureName, | ||
| SizeF | size, | ||
| PointF | position, | ||
| Color | color, | ||
| float | rotation, | ||
| bool | centered | ||
| ) | 
Initializes a new instance of the Sprite class used for drawing in game textures on the screen.
| textureDict | The Texture dictionary where the Sprite is stored (the *.ytd file). | 
| textureName | Name of the Sprite inside the Texture dictionary. | 
| size | Set the Size of the Sprite. | 
| position | Set the Position on screen where to draw the Sprite. | 
| color | Set the Color used to draw the Sprite. | 
| rotation | Set the rotation to draw the sprite, measured in degrees, see also 
  | 
| centered | Position the Sprite based on its center instead of top left corner, see also 
  | 
| void GTA.UI.Sprite.Dispose | ( | ) | 
      
  | 
  protectedvirtual | 
      
  | 
  virtual | 
Draws this Sprite.
Implements GTA.UI.IElement.
      
  | 
  virtual | 
      
  | 
  virtual | 
Draws this Sprite using the width returned in Screen.ScaledWidth.
Implements GTA.UI.IElement.
      
  | 
  virtual | 
Draws the Sprite at the specified offset using the width returned in Screen.ScaledWidth.
| offset | The offset. | 
Implements GTA.UI.IElement.
      
  | 
  getset | 
Gets or sets a value indicating whether this Sprite should be positioned based on its center or top left corner
true if centered; otherwise, false. 
      
  | 
  getset | 
Gets or sets the color of this Sprite.
The color.
      
  | 
  getset | 
Gets or sets a value indicating whether this Sprite will be drawn.
true if enabled; otherwise, false. 
      
  | 
  getset | 
Gets or sets the position of this Sprite.
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 rotation to draw thie Sprite.
The rotation measured in degrees, clockwise increasing, 0.0 at vertical
      
  | 
  getset | 
Gets or sets the size to draw the Sprite
The size on a 1280*720 pixel base
If ScaledDraw is called, the size will be scaled by the width returned in Screen.ScaledWidth.