rotate method

Line rotate(
  1. Coord point,
  2. Angle theta, [
  3. bool antiClockwise = true
])

Implementation

Line rotate(Coord point, Angle theta, [bool antiClockwise = true]) =>
    Line.fromSlopePoint(slope.rotate(theta, antiClockwise), point);