Jaguar - PHP Graphic Library
  • Namespace
  • Class
  • Tree

Namespaces

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

Classes

  • AbstractCanvas
  • Box
  • Canvas
  • CompressableCanvas
  • Coordinate
  • Dimension
  • Font
  • ImageFile
  • Transformation
  • Util

Interfaces

  • CanvasFactory
  • CanvasInterface
  • EqualsInterface

Class Font

SplFileInfo
Extended by Jaguar\Font implements Jaguar\EqualsInterface
Namespace: Jaguar
Located at Jaguar/Font.php

Methods summary

public
# __construct( string $font, integer $fontsize = 9 )

Create new font object

Create new font object

Parameters

$font
string
$font font path
$fontsize
integer
$fontsize font fontsize

Throws

InvalidArgumentException

Overrides

SplFileInfo::__construct
public Jaguar\Font
# setFontSize( integer $fontsize )

Set font fontsize

Set font fontsize

Parameters

$fontsize
integer
$fontsize

Returns

Jaguar\Font
public string
# getFontSize( )

Get font fontsize

Get font fontsize

Returns

string
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()

Methods inherited from SplFileInfo

__toString(), _bad_state_ex(), getATime(), getBasename(), getCTime(), getExtension(), getFileInfo(), getFilename(), getGroup(), getInode(), getLinkTarget(), getMTime(), getOwner(), getPath(), getPathInfo(), getPathname(), getPerms(), getRealPath(), getSize(), getType(), isDir(), isExecutable(), isFile(), isLink(), isReadable(), isWritable(), openFile(), setFileClass(), setInfoClass()

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0