Interface IElement
Namespace: GTA.UI
Assembly: ScriptHookVDotNet3.dll
Syntax
public interface IElement
Properties
Name | Description |
---|---|
Centered | Gets or sets a value indicating whether this IElement should be positioned based on its center or top left corner |
Color | Gets or sets the color of this IElement. |
Enabled | Gets or sets a value indicating whether this IElement will be drawn. |
Position | Gets or sets the position of this IElement. |
Methods
Name | Description |
---|---|
Draw() | Draws this IElement this frame. |
Draw(SizeF) | Draws this IElement this frame at the specified offset. |
ScaledDraw() | Draws this IElement this frame using the width returned in ScaledWidth. |
ScaledDraw(SizeF) | Draws this IElement this frame at the specified offset using the width returned in ScaledWidth. |