Public Member Functions | |
RegionGroup (String rgName, Units xOrigin, Units yOrigin) | |
void | addRegion (Region childRegion, Coordinates relativeCoord) |
Units | getHeight () |
String | getName () |
Coordinates | getRegionOffset (Region child) |
List< Region > | getRegions () |
Units | getWidth () |
double | getXOffsetInInches () |
double | getYOffsetInInches () |
Internally, everything is computed in Inches.
This software is distributed under the BSD License.
Definition at line 30 of file RegionGroup.java.
void addRegion | ( | Region | childRegion, | |
Coordinates | relativeCoord | |||
) |
childRegion | a child region | |
relativeCoord |
Definition at line 69 of file RegionGroup.java.
References Units.getConversionTo(), Region.getScaleX(), Region.getScaleY(), Region.getShape(), Region.getUnits(), Units.getValueIn(), Coordinates.getX(), and Coordinates.getY().
String getName | ( | ) |
Coordinates getRegionOffset | ( | Region | child | ) |
List<Region> getRegions | ( | ) |
Units getWidth | ( | ) |
Definition at line 133 of file RegionGroup.java.
Referenced by FlowPaperLayout.layoutRegionGroups().
double getXOffsetInInches | ( | ) |
double getYOffsetInInches | ( | ) |