Class VerticalLineTo
java.lang.Object
com.itextpdf.svg.renderers.path.impl.AbstractPathShape
com.itextpdf.svg.renderers.path.impl.LineTo
com.itextpdf.svg.renderers.path.impl.VerticalLineTo
- All Implemented Interfaces:
IPathShape
Implements lineTo(V) attribute of SVG's path element
-
Field Summary
FieldsFields inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
context, coordinates, copier, properties, relative -
Constructor Summary
ConstructorsConstructorDescriptionCreates an absolute Vertical LineTo.VerticalLineTo(boolean relative) Creates a Vertical LineTo. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCoordinates(String[] inputCoordinates, Point startPoint) This method sets the coordinates for the path painting operator and does internal preprocessing, if necessaryMethods inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
applyTransform, createPoint, draw, getEndingPoint, getPathShapeRectangle, isRelative, parseHorizontalLength, parseVerticalLength, setContext, setParent, setTransform
-
Field Details
-
ARGUMENT_SIZE
static final int ARGUMENT_SIZE- See Also:
-
-
Constructor Details
-
VerticalLineTo
public VerticalLineTo()Creates an absolute Vertical LineTo. -
VerticalLineTo
public VerticalLineTo(boolean relative) Creates a Vertical LineTo. Set argument to true to create a relative VerticalLineTo.- Parameters:
relative- whether this is a relative VerticalLineTo or not
-
-
Method Details
-
setCoordinates
Description copied from interface:IPathShapeThis method sets the coordinates for the path painting operator and does internal preprocessing, if necessary- Specified by:
setCoordinatesin interfaceIPathShape- Overrides:
setCoordinatesin classLineTo- Parameters:
inputCoordinates- an array containing point values for path coordinatesstartPoint- the ending point of the previous operator, or, in broader terms, the point that the coordinates should be absolutized against, for relative operators
-