public class SvgOptions extends ImageOptionsBase
The SVG file format creation options.
ImageOptionsBase
Constructor and Description |
---|
SvgOptions() |
Modifier and Type | Method and Description |
---|---|
ISvgResourceKeeperCallback |
getCallback()
Gets or sets the font store options.
|
int |
getColorType()
Gets or sets the color type for SVG image.
|
float |
getMinimumAbsoluteNonscaledLinewidth()
Lines with width in pixels less than this will be rescaled
|
float |
getMinimumLinewidth()
Minumum width of the line (i.e.
|
float |
getMinimumRelativeLinewidthRatio()
Lines with width less than image's size\minimumRelativeLinewidthRatio will be rescaled if relative rescaling is used
|
boolean |
getRescaleSubpixelLinewidths()
Wether sub-pixel lindewidths should be rescaled
|
long |
getTargetFormat() |
boolean |
getTextAsShapes()
Gets or sets a value indicating whether text must be converted as shapes.
|
boolean |
getUseAbsoluteRescaling()
Wether minimum non-rescaled line widh should be defined relative to whole image size (if false) or in pixels (if true)
|
void |
setCallback(ISvgResourceKeeperCallback value)
Gets or sets the font store options.
|
void |
setColorType(int value)
Gets or sets the color type for SVG image.
|
void |
setMinimumAbsoluteNonscaledLinewidth(float value)
Lines with width in pixels less than this will be rescaled
|
void |
setMinimumLinewidth(float value)
Minumum width of the line (i.e.
|
void |
setMinimumRelativeLinewidthRatio(float value)
Lines with width less than image's size\minimumRelativeLinewidthRatio will be rescaled if relative rescaling is used
|
void |
setRescaleSubpixelLinewidths(boolean value)
Wether sub-pixel lindewidths should be rescaled
|
void |
setTextAsShapes(boolean value)
Gets or sets a value indicating whether text must be converted as shapes.
|
void |
setUseAbsoluteRescaling(boolean value)
Wether minimum non-rescaled line widh should be defined relative to whole image size (if false) or in pixels (if true)
|
getInterruptionToken, getLayers, getPalette, getPc3File, getResolutionSettings, getRotation, getSource, getTimeout, getUserWatermarkColor, getUserWatermarkText, getVectorRasterizationOptions, getXmpData, setInterruptionToken, setLayers, setPalette, setPc3File, setResolutionSettings, setRotation, setSource, setTimeout, setUserWatermarkColor, setUserWatermarkText, setVectorRasterizationOptions, setXmpData
public final int getColorType()
Gets or sets the color type for SVG image.
public final void setColorType(int value)
Gets or sets the color type for SVG image.
value
- The type of the color of SVG image.public final boolean getTextAsShapes()
Gets or sets a value indicating whether text must be converted as shapes. By default text will be converted as shapes.
true
if all text is turned into SVG shapes in the convertion; otherwise, false
.public final void setTextAsShapes(boolean value)
Gets or sets a value indicating whether text must be converted as shapes. By default text will be converted as shapes.
value
- true
if all text is turned into SVG shapes in the convertion; otherwise, false
.public final ISvgResourceKeeperCallback getCallback()
Gets or sets the font store options.
public final void setCallback(ISvgResourceKeeperCallback value)
Gets or sets the font store options.
value
- The font store options.public final boolean getRescaleSubpixelLinewidths()
Wether sub-pixel lindewidths should be rescaled
public final void setRescaleSubpixelLinewidths(boolean value)
Wether sub-pixel lindewidths should be rescaled
public final boolean getUseAbsoluteRescaling()
Wether minimum non-rescaled line widh should be defined relative to whole image size (if false) or in pixels (if true)
public final void setUseAbsoluteRescaling(boolean value)
Wether minimum non-rescaled line widh should be defined relative to whole image size (if false) or in pixels (if true)
public final float getMinimumRelativeLinewidthRatio()
Lines with width less than image's size\minimumRelativeLinewidthRatio will be rescaled if relative rescaling is used
public final void setMinimumRelativeLinewidthRatio(float value)
Lines with width less than image's size\minimumRelativeLinewidthRatio will be rescaled if relative rescaling is used
public final float getMinimumAbsoluteNonscaledLinewidth()
Lines with width in pixels less than this will be rescaled
public final void setMinimumAbsoluteNonscaledLinewidth(float value)
Lines with width in pixels less than this will be rescaled
public final float getMinimumLinewidth()
Minumum width of the line (i.e. width of zero-width line) relative to minimum non-rescaled linewidth
public final void setMinimumLinewidth(float value)
Minumum width of the line (i.e. width of zero-width line) relative to minimum non-rescaled linewidth
public long getTargetFormat()
getTargetFormat
in class ImageOptionsBase