Skip to content

GradientTileMode

GradientTileMode #

Bases: Enum

Defines what happens at the edge of a gradient. More information about GradientTileMode here.

CLAMP = 'clamp' #

Samples beyond the edge are clamped to the nearest color in the defined inner area. More information here.

DECAL = 'decal' #

Samples beyond the edge are treated as transparent black. More information here.

MIRROR = 'mirror' #

Samples beyond the edge are mirrored back and forth across the defined area. More information here.

REPEATED = 'repeated' #

Samples beyond the edge are repeated from the far end of the defined area. More information here.