public class LoaderParameters extends Object implements 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.
|
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 String styleSheets
public double scale
public boolean scaleLineWidth
public double width
public boolean autoStartAnimations
public boolean centerImage
public boolean applyViewportPosition
public LoaderParameters clone()
public static LoaderParameters createWidthParameters(double width)
width
- the widthpublic static LoaderParameters createScaleParameters(double scale)
scale
- the scaleCopyright © 2023. All rights reserved.