|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Region
Classes that implement this interface represent spatial entities on a page.
All of the functions provided by Region return metrics within 'default user space'. This almost always means that one unit equals 1/72", so an 8.5" x 11" page will have a width and height of 612 and 792, respectively, with the origin of each page positioned in the bottom-left corner.
A Region rooted at the point (100, 100) with width of 200 units and height of 300 units will return the following values:
xpos() = 100 endxpos() = 300 ypos() = 100 endypos() = 400 height() = 300 width() = 200
Method Summary | |
---|---|
float |
area()
|
float |
endxpos()
|
float |
endypos()
|
float |
height()
|
float |
width()
|
float |
xpos()
|
float |
ypos()
|
Method Detail |
---|
float xpos()
float endxpos()
float ypos()
float height()
float width()
float endypos()
float area()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |