IImageCreatorDescriptor

All Implemented Interfaces: com.aspose.imaging.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

MethodDescription
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:

ParameterTypeDescription
imageOptionsImageOptionsBaseThe 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.