Area

class \TYPO3\CMS\Core\Imaging\ImageManipulation\Area

Table of Contents

Properties

$height  : float
$width  : float
$x  : float
$y  : float

Methods

__construct()  : mixed
__toString()  : string
applyRatioRestriction()  : Area
asArray()  : array
createEmpty()  : Area
createFromConfiguration()  : Area
createMultipleFromConfiguration()  : Area[]
getHeight()  : float
getOffsetLeft()  : float
getOffsetTop()  : float
getWidth()  : float
isEmpty()  : bool
makeAbsoluteBasedOnFile()  : Area
makeRelativeBasedOnFile()  : Area

Properties

Methods

__construct()

public __construct(float $x, float $y, float $width, float $height) : mixed

Parameters

$x : float
$y : float
$width : float
$height : float

__toString()

public __toString() : string

Return values

string

asArray()

public asArray() : array

Return values

array

getHeight()

public getHeight() : float

Return values

float

getOffsetLeft()

public getOffsetLeft() : float

Return values

float

getOffsetTop()

public getOffsetTop() : float

Return values

float

getWidth()

public getWidth() : float

Return values

float

isEmpty()

public isEmpty() : bool

Return values

bool
On this page