OffsetExt extension

on

Methods

distanceTo(Offset offset) double

Available on Offset, provided by the OffsetExt extension

distanceToLine(Offset lineStart, Offset lineEnd) double

Available on Offset, provided by the OffsetExt extension

isPointInsideOval(Offset ovalCenter, double semiMajorAxis, double semiMinorAxis) bool

Available on Offset, provided by the OffsetExt extension

isPointInsideTriangle(Offset vertexA, Offset vertexB, Offset vertexC) bool

Available on Offset, provided by the OffsetExt extension

rotate({Offset center = Offset.zero, double angle = 0}) Offset

Available on Offset, provided by the OffsetExt extension