public class Region
extends java.lang.Object
| Constructor and Description | 
|---|
| Region(SheetPoint corner1,
      SheetPoint corner2)Creates a new region instance by specifying two corners of the region. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | contains(SheetPoint sheetPoint)Contains. | 
| SheetPoint | getBottomRight()Gets the bottom right. | 
| java.lang.String | getName()Gets the name. | 
| SheetPoint | getTopLeft()Gets the top left. | 
public Region(SheetPoint corner1, SheetPoint corner2) throws InvalidRegionException
corner1 - the corner1corner2 - the corner2InvalidRegionException - the invalid region exceptionpublic java.lang.String getName()
public boolean contains(SheetPoint sheetPoint)
sheetPoint - the sheet pointpublic SheetPoint getTopLeft()
public SheetPoint getBottomRight()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa