Package com.teamdev.jxbrowser.print
Interface Scaling
- All Known Subinterfaces:
Scaling.CustomScaling
public interface Scaling
The scaling used for printing.
- Since:
- 7.20
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe custom scaling used for printing. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Scaling.CustomScalingcustom(int scaleFactor) Creates a custom scaling which scales the content according to the givenscaleFactor.static ScalingCreates a default scaling for the printing content.
-
Method Details
-
defaultScaling
Creates a default scaling for the printing content. -
custom
Creates a custom scaling which scales the content according to the givenscaleFactor.- Parameters:
scaleFactor- a scale factor to apply to the content, where100is a normal size. Should be in the range from10to200- Throws:
IllegalArgumentException- if thescaleFactorless than10or more than200
-