CanvasPath class

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

Constructors

CanvasPath({void arc(num, num, num, num, num, [bool?])?, void arcTo(num, num, num, num, num)?, void bezierCurveTo(num, num, num, num, num, num)?, void closePath()?, void ellipse(num, num, num, num, num, num, num, [bool?])?, void lineTo(num, num)?, void moveTo(num, num)?, void quadraticCurveTo(num, num, num, num)?, void rect(num, num, num, num)?})
factory

Properties

arc ↔ void Function(num, num, num, num, num, [bool?])

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
arcTo ↔ void Function(num, num, num, num, num)

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
bezierCurveTo ↔ void Function(num, num, num, num, num, num)

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
closePath ↔ void Function()

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
ellipse ↔ void Function(num, num, num, num, num, num, num, [bool?])

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lineTo ↔ void Function(num, num)

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
moveTo ↔ void Function(num, num)

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
quadraticCurveTo ↔ void Function(num, num, num, num)

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
rect ↔ void Function(num, num, num, num)

Available on CanvasPath, provided by the CanvasPath$Typings extension

getter/setter pair
roundRect → ({void Function(num x, num y, num w, num h, [Object? radii]) $1, void Function(num x, num y, num w, num h, [Object? radii]) $2})

Available on CanvasPath, provided by the CanvasPath$Typings extension

Overload accessor: $1, $2
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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