Used alongside
UIGradient.Type to set the shape of the gradient.- Items
- 4
- Uses
- 1
Items4
- The color/transparency sequence transitions in a straight line across the element. The direction is controlled by
Rotationand the position byOffset. - The 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, effectively(width+height)/4.Rotationhas no effect on a radial gradient. - The color/transparency sequence sweeps clockwise around the center of the element, optionally shifted by
Offset.Rotationcontrols the starting angle of the sweep.