|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.gvt.flow.RegionInfo
public class RegionInfo
This class holds the neccessary information to render a <batik:flowRegion> that is defined within the <batik:flowRoot> element. Namely it holds the bounds of the region and the desired vertical alignment.
Constructor Summary | |
---|---|
RegionInfo(Shape s,
float verticalAlignment)
Creates a new RegionInfo with the given shape and alignment. |
Method Summary | |
---|---|
Shape |
getShape()
Returns the flow region shape. |
float |
getVerticalAlignment()
Gets the vertical alignment for this flow region. |
void |
setShape(Shape s)
Sets the flow region shape. |
void |
setVerticalAlignment(float verticalAlignment)
Sets the alignment position of the text within this flow region. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegionInfo(Shape s, float verticalAlignment)
Method Detail |
---|
public Shape getShape()
public void setShape(Shape s)
public float getVerticalAlignment()
public void setVerticalAlignment(float verticalAlignment)
verticalAlignment
- the vertical alignment of the text.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |