public class RegionInfo
extends java.lang.Object
| Constructor | Description |
|---|---|
RegionInfo(java.awt.Shape s,
float verticalAlignment) |
Creates a new RegionInfo with the given shape and alignment.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Shape |
getShape() |
Returns the flow region shape.
|
float |
getVerticalAlignment() |
Gets the vertical alignment for this flow region.
|
void |
setShape(java.awt.Shape s) |
Sets the flow region shape.
|
void |
setVerticalAlignment(float verticalAlignment) |
Sets the alignment position of the text within this flow region.
|
public RegionInfo(java.awt.Shape s,
float verticalAlignment)
public java.awt.Shape getShape()
public void setShape(java.awt.Shape s)
public float getVerticalAlignment()
public void setVerticalAlignment(float verticalAlignment)
verticalAlignment - the vertical alignment of the text.Copyright ? 2018 Apache Software Foundation. All Rights Reserved.