Package org.apache.batik.extension.svg
Class LineInfo
java.lang.Object
org.apache.batik.extension.svg.LineInfo
This class encapsulates the layout information about a single line
in a multi-line flow.
- Version:
- $Id: LineInfo.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) AttributedCharacterIterator
(package private) float
(package private) int
(package private) GVTGlyphVector
(package private) float
(package private) float
(package private) Point2D.Float
(package private) boolean
(package private) int
(package private) Point2D.Float
(package private) float
-
Constructor Summary
ConstructorsConstructorDescriptionLineInfo
(Point2D.Float loc, AttributedCharacterIterator aci, GVTGlyphVector gv, int startIdx, int endIdx, float advance, float visualAdvance, float lastCharWidth, float lineWidth, boolean partial, Point2D.Float verticalAlignOffset) -
Method Summary
-
Field Details
-
loc
Point2D.Float loc -
aci
-
gv
-
startIdx
int startIdx -
endIdx
int endIdx -
advance
float advance -
visualAdvance
float visualAdvance -
lastCharWidth
float lastCharWidth -
lineWidth
float lineWidth -
partial
boolean partial -
verticalAlignOffset
Point2D.Float verticalAlignOffset
-
-
Constructor Details
-
LineInfo
public LineInfo(Point2D.Float loc, AttributedCharacterIterator aci, GVTGlyphVector gv, int startIdx, int endIdx, float advance, float visualAdvance, float lastCharWidth, float lineWidth, boolean partial, Point2D.Float verticalAlignOffset)
-
-
Method Details
-
getLocation
-
getACI
-
getGlyphVector
-
getStartIdx
public int getStartIdx() -
getEndIdx
public int getEndIdx() -
getAdvance
public float getAdvance() -
getVisualAdvance
public float getVisualAdvance() -
getLastCharWidth
public float getLastCharWidth() -
getLineWidth
public float getLineWidth() -
isPartialLine
public boolean isPartialLine() -
getVerticalAlignOffset
-
toString
-