Skip to content

GradientTileMode

Inherits: Enum

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

Properties

  • CLAMP

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

  • DECAL

    Samples beyond the edge are treated as transparent black.

  • MIRROR

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

  • REPEATED

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

Properties#

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.