Imagine API
Class

Imagine\Filter\Basic\Rotate

class Rotate implements FilterInterface

A rotate filter

Methods

__construct(integer $angle, Color $background = null)

Constructs Rotate filter with given angle and background color

ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

Details

at line 39
public __construct(integer $angle, Color $background = null)

Constructs Rotate filter with given angle and background color

Parameters

integer $angle
Color $background

at line 48
public ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

Parameters

ImageInterface $image

Return Value

ImageInterface