Class SmoothSCurveTo
java.lang.Object
com.itextpdf.svg.renderers.path.impl.AbstractPathShape
com.itextpdf.svg.renderers.path.impl.CurveTo
com.itextpdf.svg.renderers.path.impl.SmoothSCurveTo
- All Implemented Interfaces:
-
IControlPointCurve
,IPathShape
Implements shorthand/smooth curveTo (S) 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 newSmoothSCurveTo
instance.SmoothSCurveTo
(boolean relative) Creates newSmoothSCurveTo
instance. -
Method Summary
Methods inherited from class com.itextpdf.svg.renderers.path.impl.CurveTo
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
-
SmoothSCurveTo
public SmoothSCurveTo()Creates newSmoothSCurveTo
instance. -
SmoothSCurveTo
public SmoothSCurveTo(boolean relative) Creates newSmoothSCurveTo
instance.- Parameters:
-
relative
-true
in case it is a relative operator,false
if it is an absolute operator
-