Package com.pdftools.toolbox.pdf.content
Class Subpath
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.content.Subpath
-
- All Implemented Interfaces:
java.lang.Iterable<PathSegment>
,java.util.Collection<PathSegment>
,java.util.List<PathSegment>
public class Subpath extends NativeObject implements java.util.List<PathSegment>
A disconnected subpath.
A container for connected path segments.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, PathSegment element)
Not supported.boolean
add(PathSegment element)
Not supported.boolean
addAll(int index, java.util.Collection<? extends PathSegment> elements)
Not supported.boolean
addAll(java.util.Collection<? extends PathSegment> elements)
Not supported.void
clear()
Not supported.boolean
contains(java.lang.Object object)
boolean
containsAll(java.util.Collection<?> objects)
PathSegment
get(int index)
boolean
getIsClosed()
Iftrue
, theSubpath
represents a closed curve.Point
getStartPoint()
The start point of theSubpath
.int
indexOf(java.lang.Object obj)
boolean
isEmpty()
java.util.Iterator<PathSegment>
iterator()
int
lastIndexOf(java.lang.Object obj)
java.util.ListIterator<PathSegment>
listIterator()
java.util.ListIterator<PathSegment>
listIterator(int index)
PathSegment
remove(int index)
Not supported.boolean
remove(java.lang.Object object)
Not supported.boolean
removeAll(java.util.Collection<?> objects)
Not supported.boolean
retainAll(java.util.Collection<?> objects)
Not supported.PathSegment
set(int index, PathSegment element)
Not supported.int
size()
java.util.List<PathSegment>
subList(int fromIndex, int toIndex)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] array)
-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getIsClosed
public boolean getIsClosed()
Iftrue
, theSubpath
represents a closed curve.
-
addAll
public boolean addAll(java.util.Collection<? extends PathSegment> elements)
Not supported.- Specified by:
addAll
in interfacejava.util.Collection<PathSegment>
- Specified by:
addAll
in interfacejava.util.List<PathSegment>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends PathSegment> elements)
Not supported.- Specified by:
addAll
in interfacejava.util.List<PathSegment>
-
contains
public boolean contains(java.lang.Object object)
- Specified by:
contains
in interfacejava.util.Collection<PathSegment>
- Specified by:
contains
in interfacejava.util.List<PathSegment>
-
containsAll
public boolean containsAll(java.util.Collection<?> objects)
- Specified by:
containsAll
in interfacejava.util.Collection<PathSegment>
- Specified by:
containsAll
in interfacejava.util.List<PathSegment>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Collection<PathSegment>
- Specified by:
isEmpty
in interfacejava.util.List<PathSegment>
-
iterator
public java.util.Iterator<PathSegment> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<PathSegment>
- Specified by:
iterator
in interfacejava.lang.Iterable<PathSegment>
- Specified by:
iterator
in interfacejava.util.List<PathSegment>
-
listIterator
public java.util.ListIterator<PathSegment> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<PathSegment>
-
listIterator
public java.util.ListIterator<PathSegment> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<PathSegment>
-
remove
public boolean remove(java.lang.Object object)
Not supported.- Specified by:
remove
in interfacejava.util.Collection<PathSegment>
- Specified by:
remove
in interfacejava.util.List<PathSegment>
-
removeAll
public boolean removeAll(java.util.Collection<?> objects)
Not supported.- Specified by:
removeAll
in interfacejava.util.Collection<PathSegment>
- Specified by:
removeAll
in interfacejava.util.List<PathSegment>
-
retainAll
public boolean retainAll(java.util.Collection<?> objects)
Not supported.- Specified by:
retainAll
in interfacejava.util.Collection<PathSegment>
- Specified by:
retainAll
in interfacejava.util.List<PathSegment>
-
subList
public java.util.List<PathSegment> subList(int fromIndex, int toIndex)
- Specified by:
subList
in interfacejava.util.List<PathSegment>
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interfacejava.util.Collection<PathSegment>
- Specified by:
toArray
in interfacejava.util.List<PathSegment>
-
toArray
public <T> T[] toArray(T[] array)
- Specified by:
toArray
in interfacejava.util.Collection<PathSegment>
- Specified by:
toArray
in interfacejava.util.List<PathSegment>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<PathSegment>
- Specified by:
size
in interfacejava.util.List<PathSegment>
-
clear
public void clear()
Not supported.- Specified by:
clear
in interfacejava.util.Collection<PathSegment>
- Specified by:
clear
in interfacejava.util.List<PathSegment>
-
indexOf
public int indexOf(java.lang.Object obj)
- Specified by:
indexOf
in interfacejava.util.List<PathSegment>
-
lastIndexOf
public int lastIndexOf(java.lang.Object obj)
- Specified by:
lastIndexOf
in interfacejava.util.List<PathSegment>
-
add
public boolean add(PathSegment element)
Not supported.- Specified by:
add
in interfacejava.util.Collection<PathSegment>
- Specified by:
add
in interfacejava.util.List<PathSegment>
-
add
public void add(int index, PathSegment element)
Not supported.- Specified by:
add
in interfacejava.util.List<PathSegment>
-
get
public PathSegment get(int index)
- Specified by:
get
in interfacejava.util.List<PathSegment>
-
remove
public PathSegment remove(int index)
Not supported.- Specified by:
remove
in interfacejava.util.List<PathSegment>
-
set
public PathSegment set(int index, PathSegment element)
Not supported.- Specified by:
set
in interfacejava.util.List<PathSegment>
-
-