CanvasPath class

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CanvasPath()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

arc(dynamic x, dynamic y, dynamic radius, dynamic startAngle, dynamic endAngle, [bool? counterclockwise = false]) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

arcTo(dynamic x1, dynamic y1, dynamic x2, dynamic y2, dynamic radius) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

bezierCurveTo(dynamic cp1x, dynamic cp1y, dynamic cp2x, dynamic cp2y, dynamic x, dynamic y) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

closePath() → void

Available on CanvasPath, provided by the PropsCanvasPath extension

ellipse(dynamic x, dynamic y, dynamic radiusX, dynamic radiusY, dynamic rotation, dynamic startAngle, dynamic endAngle, [bool? counterclockwise = false]) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

lineTo(dynamic x, dynamic y) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

moveTo(dynamic x, dynamic y) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quadraticCurveTo(dynamic cpx, dynamic cpy, dynamic x, dynamic y) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

rect(dynamic x, dynamic y, dynamic w, dynamic h) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

roundRect(dynamic x, dynamic y, dynamic w, dynamic h, [dynamic radii = 0]) → void

Available on CanvasPath, provided by the PropsCanvasPath extension

toString() String
A string representation of this object.
inherited

Operators

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