TCustomGradientSampler.WrapMode

property WrapMode: TWrapMode; //read and write

Description

The WrapMode property specifies how the color gradient continues beyond the specified bounds.

wmClamp will repeat the first or last color gradient stops.

wmRepeat will repeat the color gradient from first color gradient stop.

wmMirror will mirror the color gradient position.


Figure 1: Wrap mode comparison: clamp, repeat and mirror

See also TWrapMode for another use case.

See Also

TWrapMode