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

Interface CanvasFactory

Direct known implementers

Jaguar\Factory\GdFactory, Jaguar\Factory\GifFactory, Jaguar\Factory\JpegFactory, Jaguar\Factory\PngFactory

Namespace: Jaguar
Located at Jaguar/CanvasFactory.php

Methods summary

public boolean
# isSupported( string $file )

Checkif the given file can be loaded by this Format

Checkif the given file can be loaded by this Format

Parameters

$file
string
$file file's path

Returns

boolean
true if can be loaded false otherwise
public string
# getMimeType( )

Get mime type for the canvas Format which this factory handle

Get mime type for the canvas Format which this factory handle

Returns

string
public string
# getExtension( boolean $includeDot = true )

Get extension for the canvas Format which this factory handle

Get extension for the canvas Format which this factory handle

Parameters

$includeDot
boolean
$includeDot true to include dot in the extension,false to ignore

Returns

string
public Jaguar\CanvasInterface
# getCanvas( )

Get new canvas instance

Get new canvas instance

Returns

Jaguar\CanvasInterface

Magic methods summary

Jaguar - PHP Graphic Library API documentation generated by ApiGen 2.8.0