Box
class Box implements BoxInterface (View source)
Methods
__construct(int $width, int $height)
Constructs the Size with given width and height
getWidth()
{@inheritdoc}
getHeight()
{@inheritdoc}
scale($ratio)
{@inheritdoc}
increase($size)
{@inheritdoc}
contains(BoxInterface $box, PointInterface $start = null)
{@inheritdoc}
square()
{@inheritdoc}
__toString()
{@inheritdoc}
widen($width)
{@inheritdoc}
heighten($height)
{@inheritdoc}
Details
__construct(int $width, int $height)
Constructs the Size with given width and height
getWidth()
{@inheritdoc}
getHeight()
{@inheritdoc}
scale($ratio)
{@inheritdoc}
increase($size)
{@inheritdoc}
contains(BoxInterface $box, PointInterface $start = null)
{@inheritdoc}
square()
{@inheritdoc}
__toString()
{@inheritdoc}
widen($width)
{@inheritdoc}
heighten($height)
{@inheritdoc}