|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| Iterator (final Path2F path, final AffineTransform at) | |
| Constructs a new GeneralPath.Iterator for given general path and transformation. More... | |
| WindingRule | getWindingRule () |
Return the WindingRule set. More... | |
| Winding | getWinding () |
| Compute the general winding of the vertices. More... | |
| float[] | points () |
Returns reference of the point array covering the whole iteration of Path2D, use index() to access the current point. More... | |
| int | index () |
Return the points() index for the current segment. More... | |
| SegmentType | getType () |
| Return current segment type. More... | |
| SegmentType | currentSegment (final float[] coords) |
| Return the current segment type and copies the current segment's points to given storage. More... | |
| boolean | hasNext () |
| Returns true if the iteration has more elements. More... | |
| SegmentType | next () |
| Returns the current segment type in the iteration, then moving to the next path segment. More... | |
Definition at line 120 of file Path2F.java.
| com.jogamp.math.geom.plane.Path2F.Iterator.Iterator | ( | final Path2F | path, |
| final AffineTransform | at | ||
| ) |
Constructs a new GeneralPath.Iterator for given general path and transformation.
| path | - the source GeneralPath object |
| at | - the AffineTransform object to apply rectangle path |
Definition at line 155 of file Path2F.java.
| SegmentType com.jogamp.math.geom.plane.Path2F.Iterator.currentSegment | ( | final float[] | coords | ) |
Return the current segment type and copies the current segment's points to given storage.
| coords | storage for current segment's points |
index(), points() and next() to avoid copying Definition at line 198 of file Path2F.java.
| SegmentType com.jogamp.math.geom.plane.Path2F.Iterator.getType | ( | ) |
Return current segment type.
Definition at line 186 of file Path2F.java.
| Winding com.jogamp.math.geom.plane.Path2F.Iterator.getWinding | ( | ) |
Compute the general winding of the vertices.
Winding Definition at line 175 of file Path2F.java.
| WindingRule com.jogamp.math.geom.plane.Path2F.Iterator.getWindingRule | ( | ) |
Return the WindingRule set.
Definition at line 167 of file Path2F.java.
| boolean com.jogamp.math.geom.plane.Path2F.Iterator.hasNext | ( | ) |
Returns true if the iteration has more elements.
Definition at line 212 of file Path2F.java.
| int com.jogamp.math.geom.plane.Path2F.Iterator.index | ( | ) |
Return the points() index for the current segment.
Definition at line 183 of file Path2F.java.
| SegmentType com.jogamp.math.geom.plane.Path2F.Iterator.next | ( | ) |
Returns the current segment type in the iteration, then moving to the next path segment.
Definition at line 217 of file Path2F.java.
| float[] com.jogamp.math.geom.plane.Path2F.Iterator.points | ( | ) |
Returns reference of the point array covering the whole iteration of Path2D, use index() to access the current point.
Definition at line 180 of file Path2F.java.