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<0, max>
getWidth()  : int<0, max>

Methods

__construct()

public __construct(int<0, max> $width, int<0, max> $height) : mixed
Parameters
$width : int<0, max>
$height : int<0, max>

getHeight()

public getHeight() : int<0, max>
Return values
int<0, max>

getWidth()

public getWidth() : int<0, max>
Return values
int<0, max>

        
On this page

Search results