Canvas

Available since framework version 1.0.

Defined in : Canvas.con
(this file must be included in your application in order to have access)

Description:

This is a helper class providing access to basic draw primitives. It should be attached to controls that have a window like RForm or RFrame for example.

Properties

This property sets or gets the color of the pen used on to the canvas

Methods

Arc
Draws an arc originating in (x,y)
This is the standard contructor for this class and should not be used directly
Draws a circle originating in (x,y) and having the r radius
Draws a line from (x1, y1) to (x2, y2)
Plots at the given coordinates
Draws a rectangle originating in (x,y) and having the (w,h) width, respectively height