public interface IGeometryPath
Represents geometry path of GeometryShape
Modifier and Type | Method and Description |
---|---|
void |
arcTo(float width,
float heigth,
float startAngle,
float sweepAngle)
Appends the specified arc to the path.
|
void |
closeFigure()
Closes the current figure of this path
|
void |
cubicBezierTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
Adds cubic Bezier curve at the end the path
|
void |
cubicBezierTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3,
long index)
Adds cubic Bezier curve to the specified place of the path
|
void |
cubicBezierTo(java.awt.geom.Point2D.Float point1,
java.awt.geom.Point2D.Float point2,
java.awt.geom.Point2D.Float point3)
Adds cubic Bezier curve at the end the path
|
void |
cubicBezierTo(java.awt.geom.Point2D.Float point1,
java.awt.geom.Point2D.Float point2,
java.awt.geom.Point2D.Float point3,
long index)
Adds cubic Bezier curve to the specified place of the path
|
byte |
getFillMode()
Sets fill mode
|
IPathSegment[] |
getPathData()
Returns geometry path of GeometryShape as an array of path segments.
|
boolean |
getStroke()
Sets stroke appearance
|
void |
lineTo(float x,
float y)
Adds line to the end of the path
|
void |
lineTo(float x,
float y,
long index)
Adds line to the specified place of the path
|
void |
lineTo(java.awt.geom.Point2D.Float point)
Adds line to the end of the path
|
void |
lineTo(java.awt.geom.Point2D.Float point,
long index)
Adds line to the specified place of the path
|
void |
moveTo(float x,
float y)
Sets next point position.
|
void |
moveTo(java.awt.geom.Point2D.Float point)
Sets next point position.
|
void |
quadraticBezierTo(float x1,
float y1,
float x2,
float y2)
Adds quadratic Bezier curve at the end the path
|
void |
quadraticBezierTo(float x1,
float y1,
float x2,
float y2,
long index)
Adds quadratic Bezier curve to the specified place of the path
|
void |
quadraticBezierTo(java.awt.geom.Point2D.Float point1,
java.awt.geom.Point2D.Float point2)
Adds quadratic Bezier curve at the end the path
|
void |
quadraticBezierTo(java.awt.geom.Point2D.Float point1,
java.awt.geom.Point2D.Float point2,
long index)
Adds quadratic Bezier curve to the specified place of the path
|
void |
removeAt(int index)
Removes segment at the specified index of the geometry path.
|
void |
setFillMode(byte value)
Sets fill mode
|
void |
setStroke(boolean value)
Sets stroke appearance
|
IPathSegment[] getPathData()
Returns geometry path of GeometryShape as an array of path segments.
void removeAt(int index)
Removes segment at the specified index of the geometry path.
index
- Index of the geometry path that should be deleted.void lineTo(java.awt.geom.Point2D.Float point)
Adds line to the end of the path
point
- End point of the linevoid lineTo(float x, float y)
Adds line to the end of the path
x
- X coordinate of the end point of the liney
- Y coordinate of the end point of the linevoid lineTo(java.awt.geom.Point2D.Float point, long index)
Adds line to the specified place of the path
point
- End pointindex
- Index of segment in PathDatacom.aspose.ms.System.ArgumentOutOfRangeException
- Segment index is out of PathData rangevoid lineTo(float x, float y, long index)
Adds line to the specified place of the path
x
- X coordinate of the pointy
- Y coordinate of the pointindex
- Index of segment in PathDatacom.aspose.ms.System.ArgumentOutOfRangeException
- Segment index is out of PathData rangevoid cubicBezierTo(java.awt.geom.Point2D.Float point1, java.awt.geom.Point2D.Float point2, java.awt.geom.Point2D.Float point3)
Adds cubic Bezier curve at the end the path
point1
- First direction pointpoint2
- Second direction pointpoint3
- End pointvoid cubicBezierTo(float x1, float y1, float x2, float y2, float x3, float y3)
Adds cubic Bezier curve at the end the path
x1
- X coordinate of first direction pointy1
- Y coordinate of first direction pointx2
- X coordinate of second direction pointy2
- Y coordinate of second direction pointx3
- X coordinate of end pointy3
- Y coordinate of end pointvoid cubicBezierTo(java.awt.geom.Point2D.Float point1, java.awt.geom.Point2D.Float point2, java.awt.geom.Point2D.Float point3, long index)
Adds cubic Bezier curve to the specified place of the path
point1
- First direction pointpoint2
- Second direction pointpoint3
- End pointindex
- Index of segment in PathDatacom.aspose.ms.System.ArgumentOutOfRangeException
- Segment index is out of PathData rangevoid cubicBezierTo(float x1, float y1, float x2, float y2, float x3, float y3, long index)
Adds cubic Bezier curve to the specified place of the path
x1
- X coordinate of first direction pointy1
- Y coordinate of first direction pointx2
- X coordinate of second direction pointy2
- Y coordinate of second direction pointx3
- X coordinate of end pointy3
- Y coordinate of end pointindex
- Index of segment in PathDatacom.aspose.ms.System.ArgumentOutOfRangeException
- Segment index is out of PathData rangevoid quadraticBezierTo(java.awt.geom.Point2D.Float point1, java.awt.geom.Point2D.Float point2)
Adds quadratic Bezier curve at the end the path
point1
- Direction pointpoint2
- End pointvoid quadraticBezierTo(float x1, float y1, float x2, float y2)
Adds quadratic Bezier curve at the end the path
x1
- X coordinate of direction pointy1
- Y coordinate of direction pointx2
- X coordinate of end pointy2
- Y coordinate of end pointvoid quadraticBezierTo(java.awt.geom.Point2D.Float point1, java.awt.geom.Point2D.Float point2, long index)
Adds quadratic Bezier curve to the specified place of the path
point1
- Direction pointpoint2
- End pointindex
- Index of segment in PathDatacom.aspose.ms.System.ArgumentOutOfRangeException
- Segment index is out of PathData rangevoid quadraticBezierTo(float x1, float y1, float x2, float y2, long index)
Adds quadratic Bezier curve to the specified place of the path
x1
- X coordinate of direction pointy1
- Y coordinate of direction pointx2
- X coordinate of end pointy2
- Y coordinate of end pointindex
- Index of segment in PathDatacom.aspose.ms.System.ArgumentOutOfRangeException
- Segment index is out of PathData rangevoid closeFigure()
Closes the current figure of this path
void moveTo(java.awt.geom.Point2D.Float point)
Sets next point position.
point
- Point positionvoid moveTo(float x, float y)
Sets next point position.
x
- X coordinate of the pointy
- Y Coordinate of the pointvoid arcTo(float width, float heigth, float startAngle, float sweepAngle)
Appends the specified arc to the path.
width
- Width of the rectangleheigth
- Height of the rectanglestartAngle
- Start angle.sweepAngle
- Sweep angle/byte getFillMode()
Sets fill mode
void setFillMode(byte value)
Sets fill mode
boolean getStroke()
Sets stroke appearance
void setStroke(boolean value)
Sets stroke appearance