Line class

Constructors

Line({required Offset start, required Offset end, double extent = 1.0})

Properties

a ↔ Vector2
The A corner.
latefinal
b ↔ Vector2
The B corner.
latefinal
c ↔ Vector2
The C corner.
latefinal
d ↔ Vector2
The D corner.
latefinal
end Offset
End of this.
final
extent double
Half the width of this.
final
hashCode int
The hash code for this object.
no setterinherited
normal ↔ Vector2
The normal vector to this. Its magnitude is equal to extent.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start Offset
Start of this.
final

Methods

contains(Offset offset) bool
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