Skip to content

CanvasDrawPath

[<Interface>]
type CanvasDrawPath =
    abstract member beginPath () : unit
    abstract member clip (path: Path2D, ?fillRule: CanvasFillRule) : unit
    abstract member clip (?fillRule: CanvasFillRule) : unit
    abstract member fill (path: Path2D, ?fillRule: CanvasFillRule) : unit
    abstract member fill (?fillRule: CanvasFillRule) : unit
    abstract member isPointInPath (path: Path2D, x: float, y: float, ?fillRule: CanvasFillRule) : bool
    abstract member isPointInPath (x: float, y: float, ?fillRule: CanvasFillRule) : bool
    abstract member isPointInStroke (path: Path2D, x: float, y: float) : bool
    abstract member isPointInStroke (x: float, y: float) : bool
    abstract member stroke (path: Path2D) : unit
    abstract member stroke () : unit
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Methods

abstract member beginPath () : unit
abstract member clip (path: Path2D, ?fillRule: CanvasFillRule) : unit
abstract member clip (?fillRule: CanvasFillRule) : unit
abstract member fill (path: Path2D, ?fillRule: CanvasFillRule) : unit
abstract member fill (?fillRule: CanvasFillRule) : unit
abstract member isPointInPath (path: Path2D, x: float, y: float, ?fillRule: CanvasFillRule) : bool
abstract member isPointInPath (x: float, y: float, ?fillRule: CanvasFillRule) : bool
abstract member isPointInStroke (path: Path2D, x: float, y: float) : bool
abstract member isPointInStroke (x: float, y: float) : bool
abstract member stroke (path: Path2D) : unit
abstract member stroke () : unit