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
public class QuadraticSmoothCurveTo extends QuadraticCurveTo
Implements shorthand/smooth quadraticCurveTo (T) attribute of SVG's path element.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
ARGUMENT_SIZE
-
Fields inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
context, coordinates, copier, properties, relative
-
-
Constructor Summary
Constructors Constructor Description QuadraticSmoothCurveTo()
Creates 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
applyTransform, createPoint, draw, getEndingPoint, isRelative, parseHorizontalLength, parseVerticalLength, setContext, setParent, setTransform
-
-
-
-
Field Detail
-
ARGUMENT_SIZE
static final int ARGUMENT_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
-
-