public class RegionInfo
extends java.awt.geom.Rectangle2D.Float
Constructor and Description |
---|
RegionInfo(float x,
float y,
float w,
float h,
float verticalAlignment) |
Modifier and Type | Method and Description |
---|---|
float |
getVerticalAlignment()
Gets the vertical alignment for this flow region.
|
void |
setVerticalAlignment(float verticalAlignment)
Sets the alignment position of the text within this flow region.
|
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, setRect, toString
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
public RegionInfo(float x, float y, float w, float h, float verticalAlignment)
public float getVerticalAlignment()
public void setVerticalAlignment(float verticalAlignment)
verticalAlignment
- the vertical alignment of the text.Copyright © 2022 Apache Software Foundation. All Rights Reserved.