BorderNode
Description:
[ CCode ( has_construct_function = false , type = "GskRenderNode*" ) ]
public BorderNode (RoundedRect outline, float[] border_width, RGBA[] border_color)
public BorderNode (RoundedRect outline, float[] border_width, RGBA[] border_color)
Creates a `GskRenderNode` that will stroke a border rectangle inside the given outline
.
The 4 sides of the border can have different widths and colors.
Parameters:
outline |
a `GskRoundedRect` describing the outline of the border |
border_width |
the stroke width of the border on the top, right, bottom and left side respectively. |
border_color |
the color used on the top, right, bottom and left side. |
Returns:
A new `GskRenderNode` |