FillRectangle2
Previous  Next

Draws a filled rectangle on the image.
Syntax: FillRectangle2 (brush As SolidBrush, x As Int32, y As Int32, width As Int32, height As Int32)

Example:
'Add a Drawer object named drawer and a Brush object named brush1.
Sub Globals

End Sub

Sub App_Start
      Form1.Show
      drawer.New1("Form1",false)
      brush1.New1(cRed)
      drawer.FillRectangle2(brush1.Value,50,50,80,40)
      drawer.Refresh(50,50,80,40)
End Sub