org.apache.batik.gvt.flow
public class RegionInfo extends Object
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.
|
Returns: the vertical alignment for this flow region. It will be 0.0 for top, 0.5 for middle and 1.0 for bottom.
Parameters: verticalAlignment the vertical alignment of the text.