IImageCreatorDescriptor
All Implemented Interfaces: com.aspose.psd.IImageDescriptor
public interface IImageCreatorDescriptor extends IImageDescriptor
The image creator descriptor specifying the creator properties. The creator descriptor is used to overcome the necessity to contain each image creator instance in memory and multithreading issues.
Methods
Method | Description |
---|---|
canCreate(ImageOptionsBase imageOptions) | Determines whether image creator can create a new image using the imageOptions . |
createInstance() | Creates a new creator instance. |
canCreate(ImageOptionsBase imageOptions)
public abstract boolean canCreate(ImageOptionsBase imageOptions)
Determines whether image creator can create a new image using the imageOptions .
Parameters:
Parameter | Type | Description |
---|---|---|
imageOptions | ImageOptionsBase | The image options. |
Returns: boolean - true if image creator created by this descriptor can create image data using the specified imageOptions ; otherwise, false .
createInstance()
public abstract IImageCreator createInstance()
Creates a new creator instance.
Returns: IImageCreator - A new creator instance.