Class CubicBezierCurve
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.CubicBezierCurve
This class is used to describe the edge of each patch for type 6 shading.
This was done as part of GSoC2014, Tilman Hausherr is the mentor.
-
Field Details
-
controlPoints
-
level
private final int level -
curve
-
-
Constructor Details
-
CubicBezierCurve
CubicBezierCurve(Point2D[] ctrlPnts, int l) Constructor of CubicBezierCurve- Parameters:
ctrlPnts
- , 4 control points [p0, p1, p2, p3]l
- , dividing level, if l = 0, one cubic Bezier curve is divided into 2^0 = 1 segments, if l = n, one cubic Bezier curve is divided into 2^n segments
-
-
Method Details