PHP Class GdReflectionLib, thinksns

This plugin allows you to create those fun Apple(tm)-style reflections in your images
Afficher le fichier Open project: medz/thinksns-4

Protected Properties

Свойство Type Description
$currentDimensions
$newImage
$options
$parentInstance GdThumb Instance of GdThumb passed to this class
$workingImage

Méthodes publiques

Méthode Description
createReflection ( $percent, $reflection, $white, $border, $borderColor, &$that )

Méthodes protégées

Méthode Description
hex2rgb ( string $hex, boolean $asString = false ) : mixed Converts a hex color to rgb tuples
imageFlipVertical ( ) Flips the image vertically

Method Details

createReflection() public méthode

public createReflection ( $percent, $reflection, $white, $border, $borderColor, &$that )

hex2rgb() protected méthode

Converts a hex color to rgb tuples
protected hex2rgb ( string $hex, boolean $asString = false ) : mixed
$hex string
$asString boolean
Résultat mixed

imageFlipVertical() protected méthode

Flips the image vertically
protected imageFlipVertical ( )

Property Details

$currentDimensions protected_oe property

protected $currentDimensions

$newImage protected_oe property

protected $newImage

$options protected_oe property

protected $options

$parentInstance protected_oe property

Instance of GdThumb passed to this class
protected GdThumb $parentInstance
Résultat GdThumb

$workingImage protected_oe property

protected $workingImage