Upravit

Sdílet prostřednictvím


CGContext.SetPatternPhase(CGSize) Method

Definition

Translates the pattern prior to beginning to tile it.

public void SetPatternPhase (CoreGraphics.CGSize phase);
member this.SetPatternPhase : CoreGraphics.CGSize -> unit

Parameters

phase
CGSize

The pattern's origin, in user space.

Remarks

The default phase is [0,0]. The phase is specified in user space and translates the pattern in X and Y before the pattern tiling begins.

Applies to