LineCommand class

canvas.drawLine()

Inheritance

Constructors

LineCommand(Offset p1, Offset p2, Paint? paint)

Properties

hashCode int
The hash code for this object.
no setterinherited
p1 Offset
final
p2 Offset
final
paint Paint?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tolerance double
getter/setter pairinherited

Methods

eq(dynamic a, dynamic b) bool
Helper function to check the equality of any two objects.
inherited
equals(covariant LineCommand other) bool
Return true if this command is equal to other, up to the given absolute tolerance. The argument other is guaranteed to have the same type as the current command.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
repr(dynamic a) String
Helper function to generate string representations of various components of a command.
inherited
toString() String
A string representation of this object.
override

Operators

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