RepeatStyle Enum

RepeatStyle enumeration

Specifies the repeat style for background images or patterns in SVG.

public enum RepeatStyle

Values

NameValueDescription
RepeatX0The image or pattern is repeated horizontally only.
RepeatY1The image or pattern is repeated vertically only.
Repeat2The image or pattern is repeated both horizontally and vertically.
Space3The image or pattern is repeated as much as possible without clipping, and the remaining space is distributed evenly between the images.
Round4The image or pattern is scaled so that it fits and is repeated without clipping, maintaining its aspect ratio.
NoRepeat5The image or pattern is not repeated, and only one copy of the image will be drawn.

See Also