public interface Scaling
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Scaling.CustomScaling
The custom scaling used for printing.
|
| Modifier and Type | Method and Description |
|---|---|
static Scaling.CustomScaling |
custom(int scaleFactor)
Creates a custom scaling which scales the content according to the given
scaleFactor. |
static Scaling |
defaultScaling()
Creates a default scaling for the printing content.
|
static Scaling defaultScaling()
static Scaling.CustomScaling custom(int scaleFactor)
scaleFactor.scaleFactor - a scale factor to apply to the content, where 100 is a normal size. Should
be in the range from 10 to 200java.lang.IllegalArgumentException - if the scaleFactor less than 10 or more than 200