Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

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

Classes

  • Antique
  • Boost
  • Brightness
  • Colorize
  • Contrast
  • Gamma
  • Grayscale
  • Multiply
  • Negate
  • Sepia

Class Contrast

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

Methods summary

public
# __construct( integer $level = 0 )

construct new contrast action

construct new contrast action

Parameters

$level
integer
$level

Throws

InvalidArgumentException
if invalid level
public Jaguar\Action\Color\Contrast
# setLevel( integer $level )

Set contrast level

Set contrast level

Parameters

$level
integer
$level in range(-100,100) where 0 = no change

Returns

Jaguar\Action\Color\Contrast

Throws

InvalidArgumentException
if invalid level
public integer
# getLevel( )

Get Contrast Level

Get Contrast Level

Returns

integer

Methods inherited from Jaguar\Action\AbstractAction

apply()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0