Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

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

Classes

  • AbstractDrawable
  • AbstractStyledDrawable
  • Arc
  • Border
  • FilledDrawable
  • Line
  • Pixel
  • Polygon
  • Rectangle
  • Text

Interfaces

  • DrawableInterface
  • StyleInterface

Interface DrawableInterface

Jaguar\Drawable\DrawableInterface implements Jaguar\EqualsInterface

Direct known implementers

Jaguar\Drawable\AbstractDrawable

Indirect known implementers

Jaguar\Drawable\AbstractStyledDrawable, Jaguar\Drawable\Arc, Jaguar\Drawable\Border, Jaguar\Drawable\FilledDrawable, Jaguar\Drawable\Line, Jaguar\Drawable\Pixel, Jaguar\Drawable\Polygon, Jaguar\Drawable\Rectangle, Jaguar\Drawable\Text

Namespace: Jaguar\Drawable
Located at Jaguar/Drawable/DrawableInterface.php

Methods summary

public Jaguar\Drawable\DrawableInterface
# setColor( Jaguar\Color\ColorInterface $color )

Set drawable color

Set drawable color

Parameters

$color
Jaguar\Color\ColorInterface
$color

Returns

Jaguar\Drawable\DrawableInterface
public Jaguar\Color\ColorInterface
# getColor( )

Get drawable's Color

Get drawable's Color

Returns

Jaguar\Color\ColorInterface
public
# draw( Jaguar\CanvasInterface $canvas )

Draw the drawable object on the given canvas using the given style

Draw the drawable object on the given canvas using the given style

Parameters

$canvas
Jaguar\CanvasInterface
$canvas

Throws

Jaguar\Exception\CanvasEmptyException
Jaguar\Exception\DrawableException

Methods inherited from Jaguar\EqualsInterface

equals()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0