Snapshot.appendBorder

Appends a stroked border rectangle inside the given @outline.

The four sides of the border can have different widths and colors.

class Snapshot
void
appendBorder

Parameters

outline RoundedRect

a GskRoundedRect describing the outline of the border

borderWidth float[4]

the stroke width of the border on the top, right, bottom and left side respectively.

borderColor RGBA[4]

the color used on the top, right, bottom and left side.

Meta