Package org.apache.batik.extension.svg
Class LineInfo
- java.lang.Object
-
- org.apache.batik.extension.svg.LineInfo
-
public class LineInfo extends java.lang.ObjectThis 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
Fields Modifier and Type Field Description (package private) java.text.AttributedCharacterIteratoraci(package private) floatadvance(package private) intendIdx(package private) GVTGlyphVectorgv(package private) floatlastCharWidth(package private) floatlineWidth(package private) java.awt.geom.Point2D.Floatloc(package private) booleanpartial(package private) intstartIdx(package private) java.awt.geom.Point2D.FloatverticalAlignOffset(package private) floatvisualAdvance
-
Constructor Summary
Constructors Constructor Description LineInfo(java.awt.geom.Point2D.Float loc, java.text.AttributedCharacterIterator aci, GVTGlyphVector gv, int startIdx, int endIdx, float advance, float visualAdvance, float lastCharWidth, float lineWidth, boolean partial, java.awt.geom.Point2D.Float verticalAlignOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.text.AttributedCharacterIteratorgetACI()floatgetAdvance()intgetEndIdx()GVTGlyphVectorgetGlyphVector()floatgetLastCharWidth()floatgetLineWidth()java.awt.geom.Point2D.FloatgetLocation()intgetStartIdx()java.awt.geom.Point2D.FloatgetVerticalAlignOffset()floatgetVisualAdvance()booleanisPartialLine()java.lang.StringtoString()
-
-
-
Field Detail
-
loc
java.awt.geom.Point2D.Float loc
-
aci
java.text.AttributedCharacterIterator aci
-
gv
GVTGlyphVector gv
-
startIdx
int startIdx
-
endIdx
int endIdx
-
advance
float advance
-
visualAdvance
float visualAdvance
-
lastCharWidth
float lastCharWidth
-
lineWidth
float lineWidth
-
partial
boolean partial
-
verticalAlignOffset
java.awt.geom.Point2D.Float verticalAlignOffset
-
-
Constructor Detail
-
LineInfo
public LineInfo(java.awt.geom.Point2D.Float loc, java.text.AttributedCharacterIterator aci, GVTGlyphVector gv, int startIdx, int endIdx, float advance, float visualAdvance, float lastCharWidth, float lineWidth, boolean partial, java.awt.geom.Point2D.Float verticalAlignOffset)
-
-
Method Detail
-
getLocation
public java.awt.geom.Point2D.Float getLocation()
-
getACI
public java.text.AttributedCharacterIterator getACI()
-
getGlyphVector
public GVTGlyphVector 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
public java.awt.geom.Point2D.Float getVerticalAlignOffset()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-