gsk.border_node

Module for [BorderNode] class

Types 1

A render node for a border.

Methods
gdk.rgba.RGBA getColors()Retrieves the colors of the border. Returns: an array of 4 [gdk.rgba.RGBA] structs for the top, right, bottom and left color of the border
gsk.rounded_rect.RoundedRect getOutline()Retrieves the outline of the border. Returns: the outline of the border
float[] getWidths()Retrieves the stroke widths of the border. Returns: an array of 4 floats for the top, right, bottom and left stroke width of the border, respectively
Constructors
this(void * ptr, Flag!"Take" take)
this(gsk.rounded_rect.RoundedRect outline, float[] borderWidth, gdk.rgba.RGBA[] borderColor)Creates a [gsk.render_node.RenderNode] that will stroke a border rectangle inside the given outline.