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 |
minTextSize
The minimum font size to create complete texts.
|
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 double minTextSize
DEFAULT_MIN_TEXT_SIZE
. If the font of a text is smaller than this value, then
the text will be crrated by concatenating a text primitive for each letter in the text.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