com.snowtide.pdf.layout
Interface Region

All Known Subinterfaces:
Block, Line, Rectangle, Table, TextUnit

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
 

Version:
©2004-2012 Snowtide Informatics Systems, Inc.

Method Summary
 float area()
           
 float endxpos()
           
 float endypos()
           
 float height()
           
 float width()
           
 float xpos()
           
 float ypos()
           
 

Method Detail

xpos

float xpos()

endxpos

float endxpos()

ypos

float ypos()

height

float height()

width

float width()

endypos

float endypos()

area

float area()