Class ContainerElement
Inheritance
Implements
Inherited Members
Namespace: GTA.UI
Assembly: ScriptHookVDotNet3.dll
Syntax
public class ContainerElement : IElement
Constructors
Name | Description |
---|---|
ContainerElement() | Initializes a new instance of the ContainerElement class used for grouping items on screen. |
ContainerElement(PointF, SizeF) | Initializes a new instance of the ContainerElement class used for grouping items on screen. |
ContainerElement(PointF, SizeF, Color) | Initializes a new instance of the ContainerElement class used for grouping items on screen. |
ContainerElement(PointF, SizeF, Color, Boolean) | Initializes a new instance of the ContainerElement class used for grouping items on screen. |
Properties
Name | Description |
---|---|
Centered | Gets or sets a value indicating whether this ContainerElement should be positioned based on its center or top left corner |
Color | Gets or sets the color of this ContainerElement. |
Enabled | Gets or sets a value indicating whether this ContainerElement will be drawn. |
Items | The IElements Contained inside this ContainerElement |
Position | Gets or sets the position of this ContainerElement. |
Size | Gets or sets the size to draw the ContainerElement |
Methods
Name | Description |
---|---|
Draw() | Draws this ContainerElement this frame. |
Draw(SizeF) | Draws this ContainerElement this frame at the specified offset. |
ScaledDraw() | Draws this ContainerElement this frame using the width returned in ScaledWidth. |
ScaledDraw(SizeF) | Draws this ContainerElement this frame at the specified offset using the width returned in ScaledWidth. |