PaintRenderingContext2D extension type

on
Implemented types
Available extensions

Properties

fillStyle JSAny
getter/setter pair
globalAlpha double
getter/setter pair
globalCompositeOperation String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageSmoothingEnabled bool
getter/setter pair
imageSmoothingQuality ImageSmoothingQuality
getter/setter pair
lineCap CanvasLineCap
getter/setter pair
lineDashOffset double
getter/setter pair
lineJoin CanvasLineJoin
getter/setter pair
lineWidth double
getter/setter pair
miterLimit double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowBlur double
getter/setter pair
shadowColor String
getter/setter pair
shadowOffsetX double
getter/setter pair
shadowOffsetY double
getter/setter pair
strokeStyle JSAny
getter/setter pair

Methods

beginPath() → void
clearRect(num x, num y, num w, num h) → void
clip([JSAny fillRuleOrPath, CanvasFillRule fillRule]) → void
createLinearGradient(num x0, num y0, num x1, num y1) CanvasGradient
createPattern(CanvasImageSource image, String repetition) CanvasPattern?
createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) CanvasGradient
drawImage(CanvasImageSource image, num dxOrSx, num dyOrSy, [num dwOrSw, num dhOrSh, num dx, num dy, num dw, num dh]) → void
fill([JSAny fillRuleOrPath, CanvasFillRule fillRule]) → void
fillRect(num x, num y, num w, num h) → void
getLineDash() JSArray<JSNumber>
getTransform() DOMMatrix
isPointInPath(JSAny pathOrX, num xOrY, [JSAny fillRuleOrY, CanvasFillRule fillRule]) bool
isPointInStroke(JSAny pathOrX, num xOrY, [num y]) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetTransform() → void
restore() → void
rotate(num angle) → void
save() → void
scale(num x, num y) → void
setLineDash(JSArray<JSNumber> segments) → void
setTransform([JSAny aOrTransform, num b, num c, num d, num e, num f]) → void
stroke([Path2D path]) → void
strokeRect(num x, num y, num w, num h) → void
toString() String
A string representation of this object.
inherited
transform(num a, num b, num c, num d, num e, num f) → void
translate(num x, num y) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited