StraightLine class
直线路径定义
适用于需要精确计算直线轨迹的场景,如:
- 直线运动轨迹计算
- 几何图形边线定义
- 坐标点线性插值计算
Constructors
- StraightLine(Offset point1, Offset point2)
- 创建直线路径
Properties
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