Class: GradientRectDynamic

Static Methods


GradientRectDynamic GradientRectDynamic.new(point?: Point)

Properties


Color3 ColorUpperLeft

Describes a GradientRectDynamic's upper-left color.

Color3 ColorUpperRight

Describes a GradientRectDynamic's upper-right color.

Color3 ColorBottomLeft

Describes a GradientRectDynamic's bottom-left color.

Color3 ColorBottomRight

Describes a GradientRectDynamic's bottom-right color.

number OpacityUpperLeft

Describes a GradientRectDynamic's upper-left opacity.

number OpacityUpperRight

Describes a GradientRectDynamic's upper-right opacity.

number OpacityBottomLeft

Describes a GradientRectDynamic's bottom-left opacity.

number OpacityBottomRight

Describes a GradientRectDynamic's bottom-right opacity.

number Opacity

Affects the overall opacity of a GradientRectDynamic.

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.

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 GradientRectDynamic:MoveToFront()

Moves a DrawEntryDynamic to the front of the current ZIndex's draw list.

void GradientRectDynamic:MoveToBack()

Moves a DrawEntryDynamic to the back of the current ZIndex's draw list.