public class Path2D extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Path2D.Close
Close the path.
|
static class |
Path2D.CubicTo
Cubic bezier curve.
|
static class |
Path2D.LineTo
Line to a new point.
|
static class |
Path2D.MoveTo
Segment to move to a new point.
|
static class |
Path2D.QuadTo
Quadratic curve.
|
static interface |
Path2D.Segment
Interface for a path segment.
|
| Constructor and Description |
|---|
Path2D()
Constructor.
|
Path2D(Path2D.Segment... segments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Path2D.Segment s) |
List<Path2D.Segment> |
getSegments() |
void |
removeLastSegment() |
public Path2D()
public Path2D(Path2D.Segment... segments)
public List<Path2D.Segment> getSegments()
public void add(Path2D.Segment s)
public void removeLastSegment()
Copyright © 2017. All rights reserved.