LineClip class

Constructors

LineClip()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(List<Point> points, BBox bbox, [List<List<Point>>? start]) List<List<Point>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
polygon(List<Point> points, BBox bbox) List<Point>
Sutherland-Hodgeman polygon clipping algorithm.
polyline(List<Point> points, BBox bbox, [List<List<Point>>? start]) List<List<Point>>
Cohen-Sutherland line clipping algorithm, adapted to efficiently handle polylines rather than just segments.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited