Class QuadraticSmoothCurveTo
java.lang.Object
com.itextpdf.svg.renderers.path.impl.AbstractPathShape
com.itextpdf.svg.renderers.path.impl.QuadraticCurveTo
com.itextpdf.svg.renderers.path.impl.QuadraticSmoothCurveTo
- All Implemented Interfaces:
-
IControlPointCurve
,IPathShape
Implements shorthand/smooth quadraticCurveTo (T) attribute of SVG's path element.
-
Field Summary
Fields inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
context, coordinates, copier, properties, relative
-
Constructor Summary
ConstructorsConstructorDescriptionCreates newQuadraticSmoothCurveTo
instance.QuadraticSmoothCurveTo
(boolean relative) Creates newQuadraticSmoothCurveTo
instance. -
Method Summary
Methods inherited from class com.itextpdf.svg.renderers.path.impl.QuadraticCurveTo
draw, getLastControlPoint, getPathShapeRectangle, setCoordinates
Methods inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
createPoint, draw, getEndingPoint, isRelative, parseHorizontalLength, parseVerticalLength, setContext, setParent, setTransform
-
Constructor Details
-
QuadraticSmoothCurveTo
public QuadraticSmoothCurveTo()Creates newQuadraticSmoothCurveTo
instance. -
QuadraticSmoothCurveTo
public QuadraticSmoothCurveTo(boolean relative) Creates newQuadraticSmoothCurveTo
instance.- Parameters:
-
relative
-true
in case it is a relative operator,false
if it is an absolute operator
-