RepeatStyle enumeration

RepeatStyle enumeration

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

The RepeatStyle type exposes the following members:

Fields

FieldDescription
REPEAT_XThe image or pattern is repeated horizontally only.
REPEAT_YThe image or pattern is repeated vertically only.
REPEATThe image or pattern is repeated both horizontally and vertically.
SPACEThe image or pattern is repeated as much as possible without clipping, and the remaining space is distributed evenly between the images.
ROUNDThe image or pattern is scaled so that it fits and is repeated without clipping, maintaining its aspect ratio.
NO_REPEATThe image or pattern is not repeated, and only one copy of the image will be drawn.

See Also