PHP Class Image2Css\Converter

Show file Open project: jaysalvat/image2css

Public Methods

Method Description
__construct ( $filename )
__toString ( )
computeStyle ( )
getBlur ( )
getColorMap ( )
getColorType ( )
getImageHeight ( )
getImageWidth ( )
getPath ( )
getPixelSize ( )
getTrueColor ( )
getWidth ( )
load ( $filename )
resize ( $width )
setBlur ( $blur )
setColorType ( $type )
setPath ( $path )
setPixelSize ( $size )
setTrueColor ( $true_color )
setWidth ( $width )

Private Methods

Method Description
rgb2hexa ( $value )

Method Details

__construct() public method

public __construct ( $filename )

__toString() public method

public __toString ( )

computeStyle() public method

public computeStyle ( )

getBlur() public method

public getBlur ( )

getColorMap() public method

public getColorMap ( )

getColorType() public method

public getColorType ( )

getImageHeight() public method

public getImageHeight ( )

getImageWidth() public method

public getImageWidth ( )

getPath() public method

public getPath ( )

getPixelSize() public method

public getPixelSize ( )

getTrueColor() public method

public getTrueColor ( )

getWidth() public method

public getWidth ( )

load() public method

public load ( $filename )

resize() public method

public resize ( $width )

setBlur() public method

public setBlur ( $blur )

setColorType() public method

public setColorType ( $type )

setPath() public method

public setPath ( $path )

setPixelSize() public method

public setPixelSize ( $size )

setTrueColor() public method

public setTrueColor ( $true_color )

setWidth() public method

public setWidth ( $width )