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 Bevel

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

Methods summary

public
# __construct( integer $width = 10, Jaguar\Color\ColorInterface $c1 = null, Jaguar\Color\ColorInterface $c2 = null )

construct new bevel action

construct new bevel action

Parameters

$width
integer
$width
$c1
Jaguar\Color\ColorInterface
$c1
$c2
Jaguar\Color\ColorInterface
$c2
public Jaguar\Action\Bevel
# setFirstColor( Jaguar\Color\ColorInterface $color )

Set first color

Set first color

Parameters

$color
Jaguar\Color\ColorInterface
$color

Returns

Jaguar\Action\Bevel
public Jaguar\Color\ColorInterface
# getFirstColor( )

Get first color

Get first color

Returns

Jaguar\Color\ColorInterface
public Jaguar\Action\Bevel
# setSecondColor( Jaguar\Color\ColorInterface $color )

Set second color

Set second color

Parameters

$color
Jaguar\Color\ColorInterface
$color

Returns

Jaguar\Action\Bevel
public Jaguar\Color\ColorInterface
# getSecondColor( )

Get second color

Get second color

Returns

Jaguar\Color\ColorInterface
public Jaguar\Action\Bevel
# setWidth( integer $width )

Set bevel width

Set bevel width

Parameters

$width
integer
$width

Returns

Jaguar\Action\Bevel

Throws

InvalidArgumentException
if width < 1
public integer
# getWidth( )

Get bevel width

Get bevel width

Returns

integer

Methods inherited from Jaguar\Action\AbstractAction

apply()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0