|
JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.utils.DPIFactory
public class DPIFactory
| Constructor Summary | |
|---|---|
DPIFactory()
|
|
| Method Summary | |
|---|---|
float |
adjustScaling(float scaling)
Corrects the image scaling to take into account the user specified DPI value |
float |
getDpi()
Get the current value of the user defined DPI (default = 72) |
float |
removeScaling(float scaling)
Corrects the image scaling to take into account the user specified DPI value |
void |
setDpi(float dpi)
Sets the current DPI to the input value dpi |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DPIFactory()
| Method Detail |
|---|
public float adjustScaling(float scaling)
scaling - :: Raw scaling value before DPI is applied (DPI of 72 is default)
public float removeScaling(float scaling)
scaling - :: Raw scaling value before DPI is applied (DPI of 72 is default)
public float getDpi()
public void setDpi(float dpi)
dpi - :: The new dpi value expressed as a float
|
JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||