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

Class AbstractDrawable

Jaguar\Drawable\AbstractDrawable implements Jaguar\Drawable\DrawableInterface

Direct known subclasses

Jaguar\Drawable\AbstractStyledDrawable, Jaguar\Drawable\Text

Indirect known subclasses

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

Abstract
Namespace: Jaguar\Drawable
Located at Jaguar/Drawable/AbstractDrawable.php

Methods summary

public
# __construct( Jaguar\Color\ColorInterface $color = null )

construct new drawable object

construct new drawable object

Parameters

$color
Jaguar\Color\ColorInterface
$color
public Jaguar\Color\ColorInterface
# getColor( )

Get drawable's Color

Get drawable's Color

Returns

Jaguar\Color\ColorInterface

Implementation of

Jaguar\Drawable\DrawableInterface::getColor()
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

Implementation of

Jaguar\Drawable\DrawableInterface::setColor()
public
# equals( mixed $other )

Check that the current object which implements this interfcae is equal to another object from the same type

Check that the current object which implements this interfcae is equal to another object from the same type

Parameters

$other
mixed
$other

Throws

InvalidArgumentException
if the passed param type is invalid

Implementation of

Jaguar\EqualsInterface::equals()
public
# __clone( )

clone the drawable

clone the drawable

abstract public string
# __toString( )

Get string representation for the current drawable object

Get string representation for the current drawable object

Returns

string

Methods inherited from Jaguar\Drawable\DrawableInterface

draw()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0