StraightLine class

Constructors

StraightLine.new(Offset point1, Offset point2)

Properties

hashCode int
The hash code for this object.
no setterinherited
point1 Offset
final
point2 Offset
final
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
positionInRate(double rate) Offset
positionOfOffset(double offset) Offset

线中取一个偏移点(大于0, 是point1这边偏移, 小于0, 是point2这边偏移) >>>

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

Operators

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