- Classes
- Namespaces
- Interfaces
- Traits
- Index

Class

# Imagine\Filter\Basic\Rotate

class Rotate implements FilterInterface

A rotate filter

## Methods

| __construct(integer $angle, ColorInterface $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, ColorInterface $background = null)`

Constructs Rotate filter with given angle and background color

#### Parameters

integer | $angle |
ColorInterface | $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 |