ImageDimension
Representing an image dimension (width and height) and calculating the dimension from a source with a given processing instruction
Table of Contents
Methods
- __construct() : mixed
- fromProcessingTask() : self
- getHeight() : int
- getWidth() : int
Methods
__construct()
public
__construct(int $width, int $height) : mixed
Parameters
- $width : int
- $height : int
fromProcessingTask()
public
static fromProcessingTask(TaskInterface $task) : self
Parameters
- $task : TaskInterface
Return values
selfgetHeight()
public
getHeight() : int
Return values
intgetWidth()
public
getWidth() : int