LineCommand class
canvas.drawLine()
- Inheritance
-
- Object
- CanvasCommand
- LineCommand
Constructors
- LineCommand(Offset p1, Offset p2, Paint? paint)
Properties
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 argumentother
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