Function StyleBox.draw

Draws this stylebox using a CanvasItem with given RID. You can get a RID value using GodotObject.getInstanceId on a CanvasItem-derived node.

void draw (
  const(RID) canvas_item,
  const(Rect2) rect
) nothrow @nogc const;