public class LoaderParameters
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
boolean |
applyViewportPosition
True if the x and y position of the viewPort is applied.
|
boolean |
autoStartAnimations
True if animations should be auto-started.
|
boolean |
centerImage
True if the resulting image must be centered.
|
double |
scale
The scale.
|
boolean |
scaleLineWidth
True if line widths must also be scaled.
|
java.lang.String |
styleSheets
The styleSheets.
|
double |
width
The width.
|
Constructor and Description |
---|
LoaderParameters() |
Modifier and Type | Method and Description |
---|---|
LoaderParameters |
clone()
Create a clone of the parameters.
|
static LoaderParameters |
createScaleParameters(double scale)
Create a parameters with a scale property.
|
static LoaderParameters |
createWidthParameters(double width)
Create parameters with a width property.
|
public java.lang.String styleSheets
public double scale
public boolean scaleLineWidth
public double width
public boolean autoStartAnimations
public boolean centerImage
public boolean applyViewportPosition
public LoaderParameters clone()
clone
in class java.lang.Object
public static LoaderParameters createWidthParameters(double width)
width
- the widthpublic static LoaderParameters createScaleParameters(double scale)
scale
- the scaleCopyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence