‪TYPO3CMS  10.4
TYPO3\CMS\Core\Imaging\ImageDimension Class Reference

Public Member Functions

 __construct (int $width, int $height)
 
 getWidth ()
 
 getHeight ()
 

Static Public Member Functions

static fromProcessingTask (TaskInterface $task)
 

Static Private Member Functions

static getConfigurationForImageCropScaleMask (TaskInterface $task)
 

Private Attributes

int $width
 
int $height
 

Detailed Description

Representing an image dimension (width and height) and calculating the dimension from a source with a given processing instruction

Definition at line 30 of file ImageDimension.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Imaging\ImageDimension::__construct ( int  $width,
int  $height 
)

Member Function Documentation

◆ fromProcessingTask()

◆ getConfigurationForImageCropScaleMask()

◆ getHeight()

◆ getWidth()

Member Data Documentation

◆ $height

int TYPO3\CMS\Core\Imaging\ImageDimension::$height
private

◆ $width

int TYPO3\CMS\Core\Imaging\ImageDimension::$width
private