SpreadMode enumeration

SpreadMode enumeration

Specifies how a texture or gradient is tiled when it is smaller than the area being filled.

The SpreadMode type exposes the following members:

Fields

FieldDescription
TILEThe texture or gradient is tiled.
TILE_FLIP_XThe texture or gradient is tiled and flipped horizontally.
TILE_FLIP_YThe texture or gradient is tiled and flipped vertically.
TILE_FLIP_XYThe texture or gradient is tiled and flipped both horizontally and vertically.
CLAMPThe texture or gradient is clamped to the edge.

See Also