SetImageBorderWidth

SetImageBorderWidth — Set the width for the image border

Synopsis

$plot->SetImageBorderWidth($width)

Description

SetImageBorderWidth sets the width of an image border, if enabled by SetImageBorderType.

Parameters

$width

The desired border width, in pixels.

Notes

Use SetImageBorderType to enable the border. Use SetImageBorderColor to set the border color.

By default, the image border width is 1 pixel for a 'solid' or 'plain' border type, and 2 pixels for a 'raised' border type.

History

This function was added in PHPlot-5.1.2.