StraightLine constructor

StraightLine(
  1. Offset point1,
  2. Offset point2
)

创建直线路径

Implementation

StraightLine(this.point1, this.point2);