PaintRenderingContext2D class

Properties

currentTransform ↔ dynamic
getter/setter pair
fillStyle Object?
getter/setter pair
filter String?
getter/setter pair
globalAlpha num?
getter/setter pair
globalCompositeOperation String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageSmoothingEnabled bool?
getter/setter pair
imageSmoothingQuality String?
getter/setter pair
lineCap String?
getter/setter pair
lineDashOffset num?
getter/setter pair
lineJoin String?
getter/setter pair
lineWidth num?
getter/setter pair
miterLimit num?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowBlur num?
getter/setter pair
shadowColor String?
getter/setter pair
shadowOffsetX num?
getter/setter pair
shadowOffsetY num?
getter/setter pair
strokeStyle Object?
getter/setter pair

Methods

arc(num x, num y, num radius, num startAngle, num endAngle, bool? anticlockwise) → void
arcTo(num x1, num y1, num x2, num y2, num radius) → void
beginPath() → void
bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) → void
clearRect(num x, num y, num width, num height) → void
clip([dynamic path_OR_winding, String? winding]) → void
closePath() → void
createLinearGradient(num x0, num y0, num x1, num y1) CanvasGradient
createPattern(dynamic image, String repetitionType) CanvasPattern?
createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) CanvasGradient
drawImage(dynamic image, num sx_OR_x, num sy_OR_y, [num? sw_OR_width, num? height_OR_sh, num? dx, num? dy, num? dw, num? dh]) → void
ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool? anticlockwise) → void
fill([dynamic path_OR_winding, String? winding]) → void
fillRect(num x, num y, num width, num height) → void
getLineDash() List<num>
isPointInPath(dynamic path_OR_x, num x_OR_y, [dynamic winding_OR_y, String? winding]) bool
isPointInStroke(dynamic path_OR_x, num x_OR_y, [num? y]) bool
lineTo(num x, num y) → void
moveTo(num x, num y) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quadraticCurveTo(num cpx, num cpy, num x, num y) → void
rect(num x, num y, num width, num height) → void
resetTransform() → void
restore() → void
rotate(num angle) → void
save() → void
scale(num x, num y) → void
setLineDash(List<num> dash) → void
setTransform(num a, num b, num c, num d, num e, num f) → void
stroke([Path2D? path]) → void
strokeRect(num x, num y, num width, num height) → 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