Class: RectDynamic
Static Methods
RectDynamic RectDynamic.new(point?: Point)
Properties
number Thickness
The thickness of a RectDynamic, in pixels.
bool Filled
Whether or not a RectDynamic is filled.
number Rounding
Describes the roundness of a RectDynamic's corners.
Inherited from RectDynamicBase:
Vector2 Size
A RectDynamicBase's size. Only used if BottomRight
is not set.
Point Position
The RectDynamicBase root position.
Point BottomRight
If set, the bottom-right corner of the RectDynamicBase
. When used, Position
ignores alignment and is used as the top-left corner.
XAlignment XAlignment
How a RectDynamicBase is aligned on the x-axis relative to its Position.
YAlignment YAlignment
How a RectDynamicBase is aligned on the y-axis relative to its Position.
Inherited from DrawEntryDynamic:
bool Visible
Determines whether a DrawEntryDynamic will be rendered.
int ZIndex
Determines the order in which a DrawEntryDynamic is rendered relative to other GUIs.
float Opacity
A value between 0 and 1 that indicates the opacity of a DrawEntryDynamic.
Color3 Color
Determines the color of a DrawEntryDynamic.
bool Outlined
Whether a DrawEntryDynamic is outlined.
number OutlineOpacity
A value between 0 and 1 that indicates the opacity of a DrawEntryDynamic's outline.
number OutlineThickness
The thickness of a DrawEntryDynamic's outline, in pixels.
Color3 OutlineColor
The color of a DrawEntryDynamic's outline.
Methods
Inherited from DrawEntryDynamic:
void RectDynamic:MoveToFront()
Moves a DrawEntryDynamic to the front of the current ZIndex's draw list.
void RectDynamic:MoveToBack()
Moves a DrawEntryDynamic to the back of the current ZIndex's draw list.