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 Mirror

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

Methods summary

public
# __construct( string $direction = Jaguar\Action\Mirror::MIRROR_HORIZONTAL )

construct new mirror action

construct new mirror action

Parameters

$direction
string
$direction MirrorAction::MIRROR_VERTICAL Or MirrorAction::MIRROR_HORIZONTAL

Throws

InvalidArgumentException
public Jaguar\Action\Mirror
# setDirection( string $direction )

Set direction

Set direction

Parameters

$direction
string
$direction MirrorAction::MIRROR_VERTICAL Or MirrorAction::MIRROR_HORIZONTAL

Returns

Jaguar\Action\Mirror

Throws

InvalidArgumentException
public string
# getDirection( )

Get direction

Get direction

Returns

string

Methods inherited from Jaguar\Action\AbstractAction

apply()

Magic methods summary

Constants summary

string MIRROR_VERTICAL "MIRROR_VERTICAL"
#
string MIRROR_HORIZONTAL "MIRROR_HORIZONTAL"
#
Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0