ClassFactoryInterface
interface ClassFactoryInterface
The interface that class factories must implement.
Constants
HANDLE_GD |
The handle to be used for the GD manipulation library. |
HANDLE_GMAGICK |
The handle to be used for the Gmagick manipulation library. |
HANDLE_IMAGICK |
The handle to be used for the Imagick manipulation library. |
Methods
Create a new instance of a metadata reader.
Create new BoxInterface instance.
Create new FontInterface instance.
Create a new instance of a file loader.
Crate a new instance of a layers interface.
Create a new ImageInterface instance.
Create a new DrawerInterface instance.
Create a new EffectsInterface instance.
Details
at line 38
MetadataReaderInterface
createMetadataReader()
Create a new instance of a metadata reader.
at line 48
BoxInterface
createBox(int $width, int $height)
Create new BoxInterface instance.
at line 60
FontInterface
createFont(string $handle, string $file, int $size, ColorInterface $color)
Create new FontInterface instance.
at line 69
LoaderInterface
createFileLoader(string|mixed $path)
Create a new instance of a file loader.
at line 80
LayersInterface
createLayers(string $handle, ImageInterface $image, mixed|null $initialKey = null)
Crate a new instance of a layers interface.
at line 92
ImageInterface
createImage(string $handle, mixed $resource, PaletteInterface $palette, MetadataBag $metadata)
Create a new ImageInterface instance.
at line 102
DrawerInterface
createDrawer(string $handle, mixed $resource)
Create a new DrawerInterface instance.
at line 112
EffectsInterface
createEffects(string $handle, mixed $resource)
Create a new EffectsInterface instance.