clip

abstract fun clip(fillRule: CanvasFillRule = definedExternally)(source)

MDN Reference


abstract fun clip(path: Path2D, fillRule: CanvasFillRule = definedExternally)(source)