Line class

多段线路径定义

用于描述由多个点连接而成的折线或曲线路径

points 点集合 - 构成多段线的坐标点列表(必须) smoothLevel 平滑等级 - 控制路径的平滑程度(1.0为基准值,暂未实现具体算法)

Constructors

Line({required List<Offset> points, double smoothLevel = 1})

Properties

hashCode int
The hash code for this object.
no setterinherited
points List<Offset>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smoothLevel double
final

Methods

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