public class RegionInfo extends Rectangle2D.Float
Rectangle2D.Double, Rectangle2D.Floatheight, width, x, yOUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP| 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, toStringadd, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionclone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalpublic 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 © 2000–2020 Apache Software Foundation. All rights reserved.