BorderNode.this

Creates a gsk.render_node.RenderNode that will stroke a border rectangle inside the given outline.

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(gsk.rounded_rect.RoundedRect outline, float[] borderWidth, gdk.rgba.RGBA[] borderColor)

Parameters

outline gsk.rounded_rect.RoundedRect

a gsk.rounded_rect.RoundedRect describing the outline of the border

borderWidth float[]

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

borderColor gdk.rgba.RGBA[]

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

Return Value