Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

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

Classes

  • Outline
  • Plain
  • Shadow

Interfaces

  • TextDrawerInterface

Class Outline

Jaguar\Drawable\Text\Outline implements Jaguar\Drawable\Text\TextDrawerInterface
Namespace: Jaguar\Drawable\Text
Located at Jaguar/Drawable/Text/Outline.php

Methods summary

public
# __construct( Jaguar\Color\RGBColor $color = null, inetger $width = 0 )

construct new outline

construct new outline

Parameters

$color
Jaguar\Color\RGBColor
$color
$width
inetger
$width
public Jaguar\Drawable\Text\Outline
# setWidth( integer $width )

Set outline width

Set outline width

Parameters

$width
integer
$width

Returns

Jaguar\Drawable\Text\Outline
public integer
# getWidth( )

Get outline width

Get outline width

Returns

integer
public Jaguar\Drawable\Text\Outline
# setColor( Jaguar\Color\RGBColor $color )

Set outline color

Set outline color

Parameters

$color
Jaguar\Color\RGBColor
$color

Returns

Jaguar\Drawable\Text\Outline
public Jaguar\Color\RGBColor
# getColor( )

Get outline color

Get outline color

Returns

Jaguar\Color\RGBColor
public boolean
# draw( Jaguar\CanvasInterface $canvas, Jaguar\Drawable\Text $text )

Apply the style on the text object

Apply the style on the text object

Parameters

$canvas
Jaguar\CanvasInterface
$canvas
$text
Jaguar\Drawable\Text
$text

Returns

boolean
true on success false otherwise

Implementation of

Jaguar\Drawable\Text\TextDrawerInterface::draw()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0