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 Brightness

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

Methods summary

public
# __construct( integer $level = 0 )

construct new brightness action

construct new brightness action

Parameters

$level
integer
$level

Throws

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

Set brightness level

Set brightness level

Parameters

$level
integer
$level in range (-100,100)

Returns

Jaguar\Action\Color\Brightness

Throws

InvalidArgumentException
if invalid level
public integer
# getLevel( )

Get brightness level

Get brightness 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