Table of Contents

Enum PatternRepeat

Namespace
Xui.Core.Canvas
Assembly
Xui.Core.dll

Controls how an image pattern tiles, following the same values as the repetition argument to the browser's createPattern(image, repetition).

public enum PatternRepeat

Fields

NoRepeat = 3

Drawn once — no tiling in either direction.

Repeat = 0

Tiles in both directions.

RepeatX = 1

Tiles horizontally only; clamped vertically.

RepeatY = 2

Tiles vertically only; clamped horizontally.