Type Property 型プロパティ

repeat

An option that repeats the gradient outside its nominal range.

Declaration 宣言

static var `repeat`: GraphicsContext.GradientOptions { get }

Discussion 議論

Use this option to cause the gradient to repeat its pattern in areas that exceed the bounds of its start and end points. The repetitions use the same start and end value for each repetition.

Without this option or mirror, the gradient stops at the end of its range. The mirror option takes precendence if you set both this one and that one.

See Also 参照

Getting Gradient Options