Constructor Border

Namespace TallComponents.PDF.Layout
Class Border

Initialize a new instance of the Border class with given color, width, pattern and brush.

Syntax

public  Border( Color  color Double  width DashPattern  pattern Brush  background )

Parameters


Color color
Color of pen.

Double width
Width of pen, must be a valid, non-negative number.

DashPattern pattern
Pattern of pen.

Brush background
Background is painted with this brush.

Create a new border with given pen color, fractional width, pattern and background brush.