CmxRasterizationOptions
Inheritance: java.lang.Object, com.aspose.psd.DisposableObject, com.aspose.psd.ImageOptionsBase, com.aspose.psd.imageoptions.VectorRasterizationOptions
public class CmxRasterizationOptions extends VectorRasterizationOptions
the CMX exporter options.
Constructors
Constructor | Description |
---|---|
CmxRasterizationOptions() | Initializes a new instance of the CmxRasterizationOptions class. |
Methods
Method | Description |
---|---|
clone() | |
close() | Implements the Closable interface and can be used in the try-with-resources statement since JDK 1.7. |
copyTo(VectorRasterizationOptions vectorRasterizationOptions) | Copies to. |
deepClone() | Clones this instance. |
deepClone_internalized() | Clones this instance. |
dispose() | Disposes the current instance. |
equals(Object arg0) | |
getBackgroundColor() | Gets a background color. |
getBorderX() | Gets or sets the border X. |
getBorderY() | Gets or sets the border Y. |
getBufferSizeHint() | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
getCenterDrawing() | Gets a value indicating whether center drawing. |
getClass() | |
getDefaultReplacementFont() | Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). |
getDisposed() | Gets a value indicating whether this instance is disposed. |
getDrawColor() | Gets a foreground color. |
getFullFrame() | Gets a value indicating whether [full frame]. |
getMultiPageOptions() | The multipage options |
getPageHeight() | Gets the page height. |
getPageSize() | Gets the page size. |
getPageWidth() | Gets the page width. |
getPalette() | Gets or sets the color palette. |
getPositioning() | Gets the positioning. |
getProgressEventHandler() | Gets or sets the progress event handler. |
getResolutionSettings() | Gets or sets the resolution settings. |
getSmoothingMode() | Gets the smoothing mode. |
getSource() | Gets or sets the source to create image in. |
getTextRenderingHint() | Gets the text rendering hint. |
getVectorRasterizationOptions() | Gets or sets the vector rasterization options. |
getXmpData() | Gets or sets the XMP metadata container. |
hashCode() | |
notify() | |
notifyAll() | |
setBackgroundColor(Color value) | Sets a background color. |
setBorderX(float value) | Gets or sets the border X. |
setBorderY(float value) | Gets or sets the border Y. |
setBufferSizeHint(int value) | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
setCenterDrawing(boolean value) | Sets a value indicating whether center drawing. |
setDefaultReplacementFont(String value) | Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). |
setDrawColor(Color value) | Sets a foreground color. |
setFullFrame(boolean value) | Sets a value indicating whether [full frame]. |
setIgnoreAfterCreate_internalized(boolean value) | Gets or sets a value indicating whether ignore after create event. |
setMultiPageOptions(MultiPageOptions value) | The multipage options |
setPageHeight(float value) | Sets the page height. |
setPageSize(SizeF value) | Sets the page size. |
setPageWidth(float value) | Sets the page width. |
setPalette(IColorPalette value) | Gets or sets the color palette. |
setPositioning(int value) | Sets the positioning. |
setProgressEventHandler(ProgressEventHandler value) | Gets or sets the progress event handler. |
setResolutionSettings(ResolutionSetting value) | Gets or sets the resolution settings. |
setSmoothingMode(int value) | Sets the smoothing mode. |
setSource(Source value) | Gets or sets the source to create image in. |
setTextRenderingHint(int value) | Sets the text rendering hint. |
setVectorRasterizationOptions(VectorRasterizationOptions value) | Gets or sets the vector rasterization options. |
setXmpData(XmpPacketWrapper value) | Gets or sets the XMP metadata container. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
CmxRasterizationOptions()
public CmxRasterizationOptions()
Initializes a new instance of the CmxRasterizationOptions class.
clone()
public ImageOptionsBase clone()
Returns: ImageOptionsBase
close()
public void close()
Implements the Closable interface and can be used in the try-with-resources statement since JDK 1.7. This method simply call dispose method.
copyTo(VectorRasterizationOptions vectorRasterizationOptions)
public final void copyTo(VectorRasterizationOptions vectorRasterizationOptions)
Copies to.
Parameters:
Parameter | Type | Description |
---|---|---|
vectorRasterizationOptions | VectorRasterizationOptions | The vector rasterization options. |
deepClone()
public ImageOptionsBase deepClone()
Clones this instance.
Returns: ImageOptionsBase - Returns shallow copy of this instance
deepClone_internalized()
public ImageOptionsBase deepClone_internalized()
Clones this instance.
Returns: ImageOptionsBase - Returns shallow copy of this instance
dispose()
public final void dispose()
Disposes the current instance.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBackgroundColor()
public Color getBackgroundColor()
Gets a background color.
Returns: Color - a background color.
getBorderX()
public float getBorderX()
Gets or sets the border X.
Returns: float - The border X.
getBorderY()
public float getBorderY()
Gets or sets the border Y.
Returns: float - The border Y.
getBufferSizeHint()
public final int getBufferSizeHint()
Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.
Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers
Returns: int
getCenterDrawing()
public boolean getCenterDrawing()
Gets a value indicating whether center drawing.
Returns: boolean - a value indicating whether center drawing.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDefaultReplacementFont()
public String getDefaultReplacementFont()
Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). To take proper name of default font can be used next code snippet: System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection(); System.Drawing.FontFamily[] families = col.Families; string defaultFontName = families[0].Name; PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName });
Value: The default replacement font.
Returns: java.lang.String
getDisposed()
public final boolean getDisposed()
Gets a value indicating whether this instance is disposed.
Returns: boolean - true if disposed; otherwise, false .
getDrawColor()
public Color getDrawColor()
Gets a foreground color.
Returns: Color - a foreground color.
getFullFrame()
public final boolean getFullFrame()
Gets a value indicating whether [full frame].
Value: true if [full frame]; otherwise, false .
Returns: boolean - a value indicating whether [full frame].
getMultiPageOptions()
public final MultiPageOptions getMultiPageOptions()
The multipage options
Returns: MultiPageOptions
getPageHeight()
public float getPageHeight()
Gets the page height.
Returns: float - the page height.
getPageSize()
public SizeF getPageSize()
Gets the page size.
Returns: SizeF - the page size.
getPageWidth()
public float getPageWidth()
Gets the page width.
Returns: float - the page width.
getPalette()
public IColorPalette getPalette()
Gets or sets the color palette.
Value: The color palette.
Returns: IColorPalette
getPositioning()
public final int getPositioning()
Gets the positioning.
Value: The positioning.
Returns: int - the positioning.
getProgressEventHandler()
public final ProgressEventHandler getProgressEventHandler()
Gets or sets the progress event handler.
Value: The progress event handler.
Returns: ProgressEventHandler
getResolutionSettings()
public ResolutionSetting getResolutionSettings()
Gets or sets the resolution settings.
Returns: ResolutionSetting
getSmoothingMode()
public final int getSmoothingMode()
Gets the smoothing mode.
Returns: int - the smoothing mode.
getSource()
public final Source getSource()
Gets or sets the source to create image in.
Value: The source to create image in.
Returns: Source
getTextRenderingHint()
public final int getTextRenderingHint()
Gets the text rendering hint.
Value: The text rendering hint.
Returns: int - the text rendering hint.
getVectorRasterizationOptions()
public final VectorRasterizationOptions getVectorRasterizationOptions()
Gets or sets the vector rasterization options.
Value: The vector rasterization options.
Returns: VectorRasterizationOptions
getXmpData()
public XmpPacketWrapper getXmpData()
Gets or sets the XMP metadata container.
Value: The XMP data container.
Returns: XmpPacketWrapper
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBackgroundColor(Color value)
public void setBackgroundColor(Color value)
Sets a background color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color | a background color. |
setBorderX(float value)
public void setBorderX(float value)
Gets or sets the border X.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | The border X. |
setBorderY(float value)
public void setBorderY(float value)
Gets or sets the border Y.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | The border Y. |
setBufferSizeHint(int value)
public final void setBufferSizeHint(int value)
Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.
Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setCenterDrawing(boolean value)
public void setCenterDrawing(boolean value)
Sets a value indicating whether center drawing.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether center drawing. |
setDefaultReplacementFont(String value)
public void setDefaultReplacementFont(String value)
Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). To take proper name of default font can be used next code snippet: System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection(); System.Drawing.FontFamily[] families = col.Families; string defaultFontName = families[0].Name; PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName });
Value: The default replacement font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setDrawColor(Color value)
public void setDrawColor(Color value)
Sets a foreground color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color | a foreground color. |
setFullFrame(boolean value)
public final void setFullFrame(boolean value)
Sets a value indicating whether [full frame].
Value: true if [full frame]; otherwise, false .
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether [full frame]. |
setIgnoreAfterCreate_internalized(boolean value)
public final void setIgnoreAfterCreate_internalized(boolean value)
Gets or sets a value indicating whether ignore after create event.
Value: true if ignore after create event; otherwise, false .
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setMultiPageOptions(MultiPageOptions value)
public final void setMultiPageOptions(MultiPageOptions value)
The multipage options
Parameters:
Parameter | Type | Description |
---|---|---|
value | MultiPageOptions |
setPageHeight(float value)
public void setPageHeight(float value)
Sets the page height.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the page height. |
setPageSize(SizeF value)
public void setPageSize(SizeF value)
Sets the page size.
Parameters:
Parameter | Type | Description |
---|---|---|
value | SizeF | the page size. |
setPageWidth(float value)
public void setPageWidth(float value)
Sets the page width.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the page width. |
setPalette(IColorPalette value)
public void setPalette(IColorPalette value)
Gets or sets the color palette.
Value: The color palette.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IColorPalette |
setPositioning(int value)
public final void setPositioning(int value)
Sets the positioning.
Value: The positioning.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the positioning. |
setProgressEventHandler(ProgressEventHandler value)
public final void setProgressEventHandler(ProgressEventHandler value)
Gets or sets the progress event handler.
Value: The progress event handler.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ProgressEventHandler |
setResolutionSettings(ResolutionSetting value)
public void setResolutionSettings(ResolutionSetting value)
Gets or sets the resolution settings.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ResolutionSetting |
setSmoothingMode(int value)
public final void setSmoothingMode(int value)
Sets the smoothing mode.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the smoothing mode. |
setSource(Source value)
public final void setSource(Source value)
Gets or sets the source to create image in.
Value: The source to create image in.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Source |
setTextRenderingHint(int value)
public final void setTextRenderingHint(int value)
Sets the text rendering hint.
Value: The text rendering hint.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the text rendering hint. |
setVectorRasterizationOptions(VectorRasterizationOptions value)
public final void setVectorRasterizationOptions(VectorRasterizationOptions value)
Gets or sets the vector rasterization options.
Value: The vector rasterization options.
Parameters:
Parameter | Type | Description |
---|---|---|
value | VectorRasterizationOptions |
setXmpData(XmpPacketWrapper value)
public void setXmpData(XmpPacketWrapper value)
Gets or sets the XMP metadata container.
Value: The XMP data container.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XmpPacketWrapper |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |