Constructor
Gsk.BorderNode.new
Declaration [src]
GskRenderNode*
gsk_border_node_new (
const GskRoundedRect* outline,
const float* border_width,
const GdkRGBA* border_color
)
Description [src]
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 |
GskRoundedRect |
a |
|
Ownership is not transferred to the callee | |
border_width |
An array of float |
the stroke width of the border on the top, right, bottom and left side respectively. |
|
The array must have 4 elements | |
Ownership is not transferred to the callee | |
border_color |
An array of GdkRGBA |
the color used on the top, right, bottom and left side. |
|
The array must have 4 elements | |
Ownership is not transferred to the callee |
Return value
Returns: GskBorderNode |
|
A new |
|
Ownership of the data is transferred to the caller |