PHP Class Neos\Media\Imagine\Box

Inheritance: implements Imagine\Image\BoxInterface
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( integer $width, integer $height ) Constructs the Size with given width and height
__toString ( )
contains ( Imagine\Image\BoxInterface $box, Imagine\Image\PointInterface $start = null )
getHeight ( )
getWidth ( )
heighten ( $height )
increase ( $size )
scale ( $ratio )
square ( )
widen ( $width )

Method Details

__construct() public méthode

Constructs the Size with given width and height
public __construct ( integer $width, integer $height )
$width integer
$height integer

__toString() public méthode

public __toString ( )

contains() public méthode

public contains ( Imagine\Image\BoxInterface $box, Imagine\Image\PointInterface $start = null )
$box Imagine\Image\BoxInterface
$start Imagine\Image\PointInterface

getHeight() public méthode

public getHeight ( )

getWidth() public méthode

public getWidth ( )

heighten() public méthode

public heighten ( $height )

increase() public méthode

public increase ( $size )

scale() public méthode

public scale ( $ratio )

square() public méthode

public square ( )

widen() public méthode

public widen ( $width )