Package: gsk

Function gsk:border-node-new

Lambda List

gsk:border-node-new (outline widths colors)

Arguments

outline -- a gsk:rounded-rect instance describing the outline of the border
widths -- a list with 4 single floats for the stroke width of the border on the top, right, bottom, and left side respectively
colors -- a list with 4 gdk:rgba instances for the color used on the top, right, bottom, and left side

Return Value

The gsk:border-node instance.

Details

Creates a border render node that will stroke a border rectangle inside the given outline. The 4 sides of the border can have different widths and colors.
 

See also

2023-11-19