public class RegionInfo extends Object
Constructor and Description |
---|
RegionInfo(Shape s,
float verticalAlignment)
Creates a new RegionInfo with the given shape and alignment.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public RegionInfo(Shape s, float verticalAlignment)
public Shape getShape()
public void setShape(Shape s)
public float getVerticalAlignment()
public void setVerticalAlignment(float verticalAlignment)
verticalAlignment
- the vertical alignment of the text.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.