public class RegionInfo extends Rectangle2D.Float
Rectangle2D.Double, Rectangle2D.Float
height, width, x, y
OUT_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, toString
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
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 © 2000–2023 Apache Software Foundation. All rights reserved.