Class ArcToBezierCurveTransformer
java.lang.Object
org.apache.fop.render.intermediate.ArcToBezierCurveTransformer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
ArcToBezierCurveTransformer
-
-
Method Details
-
arcTo
public void arcTo(double startAngle, double endAngle, int cx, int cy, int width, int height) throws IOException 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. The ellipses major axis are assumed to coincide with the coordinate axis. The current position MUST coincide with the starting position on the ellipse.- Parameters:
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 direction- Throws:
IOException
- if an I/O error occurs
-