Igis Documentation Beta

Class Clip​Path

public class ClipPath : CanvasObject 
%109 ClipPath ClipPath CanvasObject CanvasObject ClipPath->CanvasObject

Nested Types

ClipPath.WindingRule

Superclass

CanvasObject

Initializers

init(path:​winding​Rule:​)

public init(path:Path, windingRule:WindingRule = .nonZero) 

Creates a new Clip with an embedded path

Parameters

path Path

A Path (which will be copied) and should be closed

winding​Rule Winding​Rule

The WindingRule to be used for calculating the Clip

Properties

winding​Rule

public let windingRule : WindingRule