21canvas = RCanvas.Create(
"RBox drawing")
23box1 = canvas.Draw[RBox](RPadPos(0.1, 0.1), RPadPos(0.3, 0.6))
24box1.border.color = RColor.kBlue
26box1.fill.color = RColor(0, 255, 0, 127)
27box1.fill.style = RAttrFill.kSolid
29box2 = canvas.Draw[RBox](RPadPos(0.4, 0.2), RPadPos(0.6, 0.7))
30box2.border.color = RColor.kRed
32box2.border.style = RAttrLine.kDashed
33box2.fill.color = RColor(0, 0, 255, 179)
34box2.fill.style = RAttrFill.kSolid
36box3 = canvas.Draw[RBox](RPadPos(0.7, 0.4), RPadPos(0.9, 0.6))
38box3.fill.color = RColor.kBlue
39box3.fill.style = RAttrFill.kSolid
41box4 = canvas.Draw[RBox](RPadPos(0.7, 0.7), RPadPos(0.9, 0.9))
44box5 = canvas.Draw[RBox](RPadPos(0.7, 0.1), RPadPos(0.9, 0.3))