TileFactory
in package
Table of Contents
Properties
- $columns : int
- $height : int
- $interval : float
- $margin : int
- $padding : int
- $quality : int|null
- $rows : int
- $vttOutputPath : string|null
- $vttSequenceFilename : Closure|null
- $width : int
Methods
- generateVTT() : self
- Setter for the output path of the VTT file and the resolver for the tile sequence.
- get() : TileFilter
- Returns a new instance of the TileFilter.
- grid() : self
- height() : self
- interval() : self
- make() : TileFactory
- margin() : self
- padding() : self
- quality() : self
- scale() : self
- width() : self
Properties
$columns
public
int
$columns
$height
public
int
$height
= -1
$interval
public
float
$interval
= 0
$margin
public
int
$margin
= 0
$padding
public
int
$padding
= 0
$quality
public
int|null
$quality
= null
$rows
public
int
$rows
$vttOutputPath
public
string|null
$vttOutputPath
= null
$vttSequenceFilename
public
Closure|null
$vttSequenceFilename
= null
$width
public
int
$width
= -1
Methods
generateVTT()
Setter for the output path of the VTT file and the resolver for the tile sequence.
public
generateVTT(string $outputPath[, null|Closure|string $sequenceFilename = null ]) : self
Parameters
- $outputPath : string
- $sequenceFilename : null|Closure|string = null
Return values
selfget()
Returns a new instance of the TileFilter.
public
get() : TileFilter
Return values
TileFiltergrid()
public
grid(int $columns, int $rows) : self
Parameters
- $columns : int
- $rows : int
Return values
selfheight()
public
height(int $height) : self
Parameters
- $height : int
Return values
selfinterval()
public
interval(float $interval) : self
Parameters
- $interval : float
Return values
selfmake()
public
static make() : TileFactory
Return values
TileFactorymargin()
public
margin(int $margin) : self
Parameters
- $margin : int
Return values
selfpadding()
public
padding(int $padding) : self
Parameters
- $padding : int
Return values
selfquality()
public
quality([int|null $quality = null ]) : self
Parameters
- $quality : int|null = null
Return values
selfscale()
public
scale([int|null $width = null ][, int|null $height = null ]) : self
Parameters
- $width : int|null = null
- $height : int|null = null
Return values
selfwidth()
public
width(int $width) : self
Parameters
- $width : int