Function CanvasItem.drawStyleBox

Draws a styled rectangle.

void drawStyleBox (
  StyleBox style_box,
  const(Rect2) rect
) nothrow @nogc;