CropperField\Cropper\CropperInterface
Synopsis
interface CropperInterface
{
- // methods
- public void setSourceImage()
- public void setCropData()
- public void setCropX()
- public void setCropY()
- public void setCropWidth()
- public void setCropHeight()
- public void setMaxWidth()
- public void setMaxHeight()
- public void setAspectRatio()
- public Image crop()
Methods
public
- crop() — Perform the cropping and return the $out file.
- setAspectRatio()
- setCropData() — Set x, y, width, height attributes from the JSON array
- setCropHeight()
- setCropWidth()
- setCropX()
- setCropY()
- setMaxHeight()
- setMaxWidth()
- setSourceImage() — The main image we will be cropping + resizing