Skip to content

CanvasPath

[<Interface>]
type CanvasPath =
    abstract member arc (x: float, y: float, radius: float, startAngle: float, endAngle: float, ?counterclockwise: bool) : unit
    abstract member arcTo (x1: float, y1: float, x2: float, y2: float, radius: float) : unit
    abstract member bezierCurveTo (cp1x: float, cp1y: float, cp2x: float, cp2y: float, x: float, y: float) : unit
    abstract member closePath () : unit
    abstract member ellipse (x: float, y: float, radiusX: float, radiusY: float, rotation: float, startAngle: float, endAngle: float, ?counterclockwise: bool) : unit
    abstract member lineTo (x: float, y: float) : unit
    abstract member moveTo (x: float, y: float) : unit
    abstract member quadraticCurveTo (cpx: float, cpy: float, x: float, y: float) : unit
    abstract member rect (x: float, y: float, w: float, h: float) : unit
    abstract member roundRect (x: float, y: float, w: float, h: float, radii: Iterable<U2<float,DOMPointInit>>) : unit
    abstract member roundRect (x: float, y: float, w: float, h: float, radii: ResizeArray<U2<float,DOMPointInit>>) : unit
    abstract member roundRect (x: float, y: float, w: float, h: float, radii: DOMPointInit) : unit
    abstract member roundRect (x: float, y: float, w: float, h: float, radii: float) : unit
    abstract member roundRect (x: float, y: float, w: float, h: float) : unit
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Methods

abstract member arc (x: float, y: float, radius: float, startAngle: float, endAngle: float, ?counterclockwise: bool) : unit
abstract member arcTo (x1: float, y1: float, x2: float, y2: float, radius: float) : unit
abstract member bezierCurveTo (cp1x: float, cp1y: float, cp2x: float, cp2y: float, x: float, y: float) : unit
abstract member closePath () : unit
abstract member ellipse (x: float, y: float, radiusX: float, radiusY: float, rotation: float, startAngle: float, endAngle: float, ?counterclockwise: bool) : unit
abstract member lineTo (x: float, y: float) : unit
abstract member moveTo (x: float, y: float) : unit
abstract member quadraticCurveTo (cpx: float, cpy: float, x: float, y: float) : unit
abstract member rect (x: float, y: float, w: float, h: float) : unit
abstract member roundRect (x: float, y: float, w: float, h: float, radii: Iterable<U2<float,DOMPointInit>>) : unit
abstract member roundRect (x: float, y: float, w: float, h: float, radii: ResizeArray<U2<float,DOMPointInit>>) : unit
abstract member roundRect (x: float, y: float, w: float, h: float, radii: DOMPointInit) : unit
abstract member roundRect (x: float, y: float, w: float, h: float, radii: float) : unit
abstract member roundRect (x: float, y: float, w: float, h: float) : unit