public class ShapePath
extends java.lang.Object
| Constructor and Description |
|---|
ShapePath()
Initializes a new instance of the
ShapePath class. |
| Modifier and Type | Method and Description |
|---|---|
void |
arcTo(float wR,
float hR,
float stAng,
float swAng)
Appends an elliptical arc to the current figure.
|
void |
close()
Closes the current figure and starts a new figure.
|
void |
cubicBezierTo(float ctrX1,
float ctrY1,
float ctrX2,
float ctrY2,
float endX,
float endY)
Appends a cubic B茅zier curve to the current figure.
|
ShapeSegmentPathCollection |
getPathSegementList()
Gets
ShapeSegmentPathCollection list |
void |
lineTo(float x,
float y)
Appends a line segment to the current figure.
|
void |
moveTo(float x,
float y)
Starts a new figure from the specified point without closing the current figure.
|
public ShapePath()
ShapePath class.public ShapeSegmentPathCollection getPathSegementList()
ShapeSegmentPathCollection listpublic void moveTo(float x,
float y)
x - The x-coordinate of the starting point of the figure.y - The y-coordinate of the starting point of the figure.public void lineTo(float x,
float y)
x - The x-coordinate of the endpoint of the line segment.y - The y-coordinate of the endpoint of the line segment.public void cubicBezierTo(float ctrX1,
float ctrY1,
float ctrX2,
float ctrY2,
float endX,
float endY)
ctrX1 - The x-coordinate of the first control point for the curve.ctrY1 - The y-coordinate of the first control point for the curve.ctrX2 - The x-coordinate of the second control point for the curve.ctrY2 - The y-coordinate of the second control point for the curve.endX - The x-coordinate of the endpoint of the curve.endY - The y-coordinate of the endpoint of the curve.public void arcTo(float wR,
float hR,
float stAng,
float swAng)
wR - The half-width of the rectangular area of 鈥嬧€媡he ellipse that draws the arc.hR - The half-height of the rectangular area of 鈥嬧€媡he ellipse that draws the arc.stAng - The starting angle of the arc, measured in degrees clockwise from the x-axis.swAng - The angle between startAngle and the end of the arc.public void close()
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2001-2023. All Rights Reserved.