BorderNode.this

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.

  1. this(GskBorderNode* gskBorderNode, bool ownedRef)
  2. this(RoundedRect outline, float[4] borderWidth, RGBA[4] borderColor)
    class BorderNode

Parameters

outline RoundedRect

a #GskRoundedRect describing the outline of the border

borderWidth float[4]

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

borderColor RGBA[4]

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

Return Value

A new GskRenderNode

Throws

ConstructionException GTK+ fails to create the object.

Meta