- Classes
- Namespaces
- Interfaces
- Index

Imagine API
Class

# Imagine\Filter\Basic\Crop

class Crop implements FilterInterface

A crop filter

## Methods

| __construct(PointInterface $start, BoxInterface $size) Constructs a Crop filter with given x, y, coordinates and crop width and height values |
ImageInterface | apply(ImageInterface $image) Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance |

## Details

###
at line 41
`public __construct(PointInterface $start, BoxInterface $size)`

Constructs a Crop filter with given x, y, coordinates and crop width and height values

#### Parameters

PointInterface | $start |
BoxInterface | $size |

###
at line 50
`public ImageInterface apply(ImageInterface $image)`

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

#### Parameters

ImageInterface | $image |

#### Return Value

ImageInterface |