HumHub Documentation (unofficial)

Border
in package
implements FilterInterface

A border filter.

Table of Contents

Interfaces

FilterInterface
Interface for imagine filters.

Properties

$color  : ColorInterface
$height  : int
$width  : int

Methods

__construct()  : mixed
Constructs Border filter with given color, width and height.
apply()  : ImageInterface
Applies scheduled transformation to an ImageInterface instance.

Properties

Methods

__construct()

Constructs Border filter with given color, width and height.

public __construct(ColorInterface $color[, int $width = 1 ][, int $height = 1 ]) : mixed
Parameters
$color : ColorInterface
$width : int = 1

Width of the border on the left and right sides of the image

$height : int = 1

Height of the border on the top and bottom sides of the image


        
On this page

Search results