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 Border

Jaguar\Drawable\AbstractDrawable implements Jaguar\Drawable\DrawableInterface
Extended by Jaguar\Drawable\AbstractStyledDrawable
Extended by Jaguar\Drawable\Border
Namespace: Jaguar\Drawable
Located at Jaguar/Drawable/Border.php

Methods summary

public
# __construct( integer $size = 1, Jaguar\Color\RGBColor $color = null )

construct new border

construct new border

Parameters

$size
integer
$size border size
$color
Jaguar\Color\RGBColor
$color

Overrides

Jaguar\Drawable\AbstractStyledDrawable::__construct
public Jaguar\Drawable\Border
# setDrawer( Jaguar\Drawable\Border\BorderDrawerInterface $drawer )

Set border drawer

Set border drawer

Parameters

$drawer
Jaguar\Drawable\Border\BorderDrawerInterface
$drawer

Returns

Jaguar\Drawable\Border
public Jaguar\Drawable\Border\BorderDrawerInterface
# getDrawer( )

Get border drawer

Get border drawer

Returns

Jaguar\Drawable\Border\BorderDrawerInterface
public
# setSize( mixed $size )

Aliase for setLineThickness

Aliase for setLineThickness

See

Jaguar\Drawable\AbstractStyledDrawable::setLineThickness()

CodeCoverageIgnore

public
# getSize( )

Aliase for getLineThickness

Aliase for getLineThickness

See

Jaguar\Drawable\AbstractStyledDrawable::getLineThickness()

CodeCoverageIgnore

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

Overrides

Jaguar\Drawable\AbstractStyledDrawable::equals
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\AbstractStyledDrawable

draw(), getLineThickness(), setLineThickness()

Methods inherited from Jaguar\Drawable\AbstractDrawable

__clone(), getColor(), setColor()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0