public class ModifySvgRequest extends Object
Modifier and Type | Field and Description |
---|---|
String |
bkColor
Background color (Default is white).
|
Integer |
borderX
Border width.
|
Integer |
borderY
Border height.
|
String |
colorType
Color type for SVG image.
|
String |
folder
Folder with image to process.
|
String |
format
Export format (PNG is the default one).
|
Boolean |
fromScratch
Specifies where additional parameters we do not support should be taken from.
|
String |
name
Filename of image.
|
Integer |
pageHeight
Height of the page.
|
Integer |
pageWidth
Width of the page.
|
Double |
scaleX
Scale X.
|
Double |
scaleY
Scale Y.
|
String |
storage
Your Aspose Cloud Storage name.
|
Boolean |
textAsShapes
Whether text must be converted as shapes.
|
Constructor and Description |
---|
ModifySvgRequest(String name,
String colorType,
Boolean textAsShapes,
Double scaleX,
Double scaleY,
Integer pageWidth,
Integer pageHeight,
Integer borderX,
Integer borderY,
String bkColor,
Boolean fromScratch,
String folder,
String storage,
String format)
Initializes a new instance of the ModifySvgRequest class.
|
public String name
public String colorType
public Boolean textAsShapes
public Double scaleX
public Double scaleY
public Integer pageWidth
public Integer pageHeight
public Integer borderX
public Integer borderY
public String bkColor
public Boolean fromScratch
public String folder
public String storage
public String format
public ModifySvgRequest(String name, String colorType, Boolean textAsShapes, Double scaleX, Double scaleY, Integer pageWidth, Integer pageHeight, Integer borderX, Integer borderY, String bkColor, Boolean fromScratch, String folder, String storage, String format)
name
- Filename of image.colorType
- Color type for SVG image. Only RGB is supported for now.textAsShapes
- Whether text must be converted as shapes. true if all text is turned into SVG shapes in the convertion; otherwise, falsescaleX
- Scale X.scaleY
- Scale Y.pageWidth
- Width of the page.pageHeight
- Height of the page.borderX
- Border width. Only 0 is supported for now.borderY
- Border height. Only 0 is supported for now.bkColor
- Background color (Default is white).fromScratch
- Specifies where additional parameters we do not support should be taken from. If this is true – they will be taken from default values for standard image, if it is false – they will be saved from current image. Default is false.folder
- Folder with image to process.storage
- Your Aspose Cloud Storage name.format
- Export format (PNG is the default one). Please, refer to the export table from https://docs.aspose.cloud/display/imagingcloud/Supported+File+Formats#SupportedFileFormats-CommonOperationsFormatSupportMap for possible use-cases.Copyright © 2021 Aspose Pty Ltd. All rights reserved.