Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

  • Jaguar
    • Action
      • Blur
      • Color
      • Pixelate
      • Preset
    • Color
    • Drawable
      • Border
      • Style
      • Text
    • Exception
    • Factory
    • Format
    • Gradient

Classes

  • AbstractAction
  • Bevel
  • BoxAction
  • ColorSlice
  • Convolution
  • Crop
  • EdgeDetection
  • Flip
  • Light
  • Mirror
  • Overlay
  • Resize
  • Rotate
  • Sharpen
  • Sketchy
  • Smooth
  • Unsharpen
  • Watermark
  • Wavy

Interfaces

  • ActionInterface

Class Rotate

Jaguar\Action\AbstractAction implements Jaguar\Action\ActionInterface
Extended by Jaguar\Action\Rotate
Namespace: Jaguar\Action
Located at Jaguar/Action/Rotate.php

Methods summary

public
# __construct( float $degree = 0, Jaguar\Color\ColorInterface $color = null )

construct new rotate action

construct new rotate action

Parameters

$degree
float
$degree
$color
Jaguar\Color\ColorInterface
$color
public Jaguar\Action\Rotate
# setDegree( float $degree )

Set degree

Set degree

Parameters

$degree
float
$degree

Returns

Jaguar\Action\Rotate
public float
# getDegree( )

Get degree

Get degree

Returns

float
public Jaguar\Action\Rotate
# setBackgroundColor( Jaguar\Color\ColorInterface $color )

Set background color

Set background color

Parameters

$color
Jaguar\Color\ColorInterface
$color

Returns

Jaguar\Action\Rotate
public Jaguar\Color\ColorInterface
# getBackgroundColor( )

Get background color

Get background color

Returns

Jaguar\Color\ColorInterface

Methods inherited from Jaguar\Action\AbstractAction

apply()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0