Skip to content

Enum

Enum.GradientType

Used alongside UIGradient.Type to set the shape of the gradient.

Official docs ↗
ItemValueSummary
Enum.GradientType.Linear0The color/transparency sequence transitions in a straight line across the element. The direction is controlled by Rotation and the position by Offset.
Enum.GradientType.Radial1The color/transparency sequence radiates outward from the element's center, optionally shifted by Offset. The radius is defined by the average of the element's width and height divided by two, effecti
Enum.GradientType.Conical2The color/transparency sequence sweeps clockwise around the center of the element, optionally shifted by Offset. Rotation controls the starting angle of the sweep.
Enum.GradientType.Elliptical3The color/transparency sequence radiates outward from the element's center in an ellipse, optionally shifted by Offset. The ellipse's horizontal and vertical radii are half the element's width and hei

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.