Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

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

Classes

  • Brush
  • DashedlineStyle
  • FillStyle
  • ThicklineStyle

Class ThicklineStyle

Jaguar\Drawable\Style\ThicklineStyle implements Jaguar\Drawable\StyleInterface
Namespace: Jaguar\Drawable\Style
Located at Jaguar/Drawable/Style/ThicklineStyle.php

Methods summary

public
# __construct( integer $thickness = 2, Jaguar\Color\ColorInterface $show = 1, integer $hide = 0 )

construct new Thickline style

construct new Thickline style

Parameters

$thickness
integer
$thickness
$show
Jaguar\Color\ColorInterface
$color
$hide
integer
$st show time

Throws

InvalidArgumentException
public Jaguar\Drawable\Style\ThicklineStyle
# setThickness( integer $thickness )

Set thickness

Set thickness

Parameters

$thickness
integer
$thickness

Returns

Jaguar\Drawable\Style\ThicklineStyle

Throws

InvalidArgumentException
if the thickness <=0
public integer
# getThickness( )

Get thickness

Get thickness

Returns

integer
public Jaguar\Drawable\Style\ThicklineStyle
# setInterval( integer $show, integer $hide )

Set interval

Set interval

Parameters

$show
integer
$show
$hide
integer
$hide

Returns

Jaguar\Drawable\Style\ThicklineStyle
public
# apply( Jaguar\CanvasInterface $canvas, Jaguar\Drawable\AbstractStyledDrawable $drawable )

Apply the style on the drawable object

Apply the style on the drawable object

Parameters

$canvas
Jaguar\CanvasInterface
$canvas
$drawable
Jaguar\Drawable\AbstractStyledDrawable
$drawable

Throws

Jaguar\Exception\DrawableException

Implementation of

Jaguar\Drawable\StyleInterface::apply()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0