Class PathD
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<PointD>,Collection<PointD>,List<PointD>,RandomAccess,SequencedCollection<PointD>
This structure contains a sequence of PointD vertices defining a single
contour (see also terminology). Paths may be open and represent a series of
line segments defined by 2 or more vertices, or they may be closed and
represent polygons. Whether or not a path is open depends on its context.
Closed paths may be 'outer' contours, or they may be 'hole' contours, and
this usually depends on their orientation (whether arranged roughly
clockwise, or arranged counter-clockwise).
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
PathD
public PathD() -
PathD
public PathD(int n) -
PathD
-
-
Method Details
-
toString
- Overrides:
toStringin classAbstractCollection<PointD>
-