Search Results for

    Show / Hide Table of Contents

    Interface ISpriteElement

    Inherited Members
    IElement.Enabled
    IElement.Color
    IElement.Position
    IElement.Centered
    IElement.Draw()
    IElement.Draw(SizeF)
    IElement.ScaledDraw()
    IElement.ScaledDraw(SizeF)
    Namespace: GTA.UI
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public interface ISpriteElement : IElement

    Properties

    | Improve this Doc View Source

    Rotation

    Gets or sets the rotation to draw thie ISpriteElement.

    Declaration
    float Rotation { get; set; }
    Property Value
    Type Description
    Single

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

    | Improve this Doc View Source

    Size

    Gets or sets the size to draw the ISpriteElement

    Declaration
    SizeF Size { get; set; }
    Property Value
    Type Description
    SizeF

    The size on a 1280*720 pixel base

    Remarks

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

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX