|
MakerPlot-J supports a wide range of drawing instructions such as lines, arcs, circles, rectangles and images. Drawing can be performed on the interface background, plots, canvas controls and meter faces.
Interface backgrounds, canvas controls and meters have a coordinate system of 0,0 at upper-left to 100,100 at lower-right.
Plots can use the active coordinates of the plot for drawing (relative coordinates) or absolute coordinates of 0,0 to 100,100 from the plot's lower-left to upper-right.
!drawLine 0,0,100,100,RED,10 // Draw a line on the main interface
!plot.drawLine 0,0,100,100,RED,10 // Draw a line on the control plot using coordinates of the plot
!plot.drawLine 0a,0a,100a,100a,RED,10 // Draw a line on the control plot using absolute coordinates
Constant drawings will survive a reset of a plot and will be saved to the Interface File when saved.
Please see Drawing Instructions for more information.
|
|