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
public class SmoothSCurveTo extends CurveTo
Implements shorthand/smooth curveTo (S) 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 SmoothSCurveTo()
Creates 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
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
-
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
-
-