public class ArcToBezierCurveTransformer
extends java.lang.Object
Constructor and Description |
---|
ArcToBezierCurveTransformer(BezierCurvePainter bezierCurvePainter) |
Modifier and Type | Method and Description |
---|---|
void |
arcTo(double startAngle,
double endAngle,
int cx,
int cy,
int width,
int height)
Draws an arc on the ellipse centered at (cx, cy) with width width and height height
from start angle startAngle (with respect to the x-axis counter-clockwise)
to the end angle endAngle.
|
public ArcToBezierCurveTransformer(BezierCurvePainter bezierCurvePainter)
public void arcTo(double startAngle, double endAngle, int cx, int cy, int width, int height) throws java.io.IOException
startAngle
- the start angleendAngle
- the end anglecx
- the x coordinate of the ellipse centercy
- the y coordinate of the ellipse centerwidth
- the extent of the ellipse in the x directionheight
- the extent of the ellipse in the y directionjava.io.IOException
- if an I/O error occursCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.