Image.border

Surrounds the image with a border of the color defined by the borderColor property.

class Image
void
border
(
size_t width
,
size_t height
)

Parameters

width
Type: size_t

Border width in pixels.

height
Type: size_t

Border height in pixels.

Meta