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 EdgeDetection

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

Methods summary

public
# __construct( string $type = Jaguar\Action\EdgeDetection::GRADIENT_NORTH, integer $divisor = 1.0, integer $offset = 0.0 )

construct new edge detection action

construct new edge detection action

Parameters

$type
string
$type
$divisor
integer
$divisor
$offset
integer
$offset

Throws

InvalidArgumentException
public Jaguar\Action\EdgeDetection
# setType( string $type, integer $divisor = 1.0, integer $offset = 0.0 )

Set edge type

Set edge type

Parameters

$type
string
$type
$divisor
integer
$divisor
$offset
integer
$offset

Returns

Jaguar\Action\EdgeDetection

Throws

InvalidArgumentException
public string
# getType( )

Get edge type

Get edge type

Returns

string
public
# doApply( Jaguar\CanvasInterface $canvas )

Methods inherited from Jaguar\Action\AbstractAction

apply()

Magic methods summary

Constants summary

string GRADIENT_NORTH 'gradient.north'
#
string GRADIENT_WEST 'gradient.west'
#
string GRADIENT_EAST 'gradient.east'
#
string GRADIENT_SOUTH 'gradient.souht'
#
string GRADIENT_NORTH_EAST 'gradient.north_east'
#
string GRADIENT_NORTH_WEST 'gradient.north_west'
#
string GRADIENT_SOUTH_EAST 'gradient.souht_east'
#
string GRADIENT_SOUTH_WEST 'gradient.souht_west'
#
string LINE_HORIZONTAL 'line.horizontal'
#
string LINE_VERTICAL 'line.vertical'
#
string LINE_LEFT_DIAGONAL 'line.left'
#
string LINE_RIGHT_DIAGONAL 'line.right'
#
string SOBEL_HORIZONTAL 'sobel.horizontal'
#
string SOBEL_VERTICAL 'sobel.vertical'
#
string PREWITT_HORIZONTAL 'prewitt.horizontal'
#
string PREWITT_VERTICAL 'prewitt.vertical'
#
string SCHARR_HORIZONTAL 'scharr.horizontal'
#
string SCHARR_VERTICAL 'scharr.vertical'
#
string EMBOSS_NORTH 'emboss.north'
#
string EMBOSS_NORTH_EAST 'emboss.north_east'
#
string EMOBOSS_EAST 'emboss.east'
#
string EMBOSS_SOUTH_EAST 'emboss.south_east'
#
string EMBOSS_SOUTH 'emboss.souht'
#
string EMBOSS_SOUTH_WEST 'emboss.south_west'
#
string EMBOSS_WEST 'emboss.west'
#
string EMBOSS_NORTH_WEST 'emboss.north_west'
#
string LAPLACIAN_FILTER1 'laplacian_1'
#
string LAPLACIAN_FILTER2 'laplacian_2'
#
string LAPLACIAN_FILTER3 'laplacian_3'
#
string LAPLACIAN_FILTER4 'laplacian_4'
#
string FINDEDGE 'findeedge'
#
Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0