Component: Canvas ( Indicator)
From Flowcode Help
Jump to navigationJump to search
Author | MatrixTSL |
Version | 0.1 |
Category | Indicator |
Contents
Canvas component
Creates a simple canvas for drawing.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Canvas.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Canvas.fcsx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Clear
![]() |
Clear |
Clear the canvas to the background colour | |
![]() |
Return |
DrawRectangle
FillRectangle
![]() |
FillRectangle |
Draw a filled rectangle on the canvas | |
![]() |
x0 |
Start coordinate | |
![]() |
y0 |
Start coordinate | |
![]() |
dx |
Width | |
![]() |
dy |
Height | |
![]() |
col |
Fill colour | |
![]() |
Return |
PlotLine
PlotPoint
![]() |
PlotPoint |
Draw a pixel on the canvas | |
![]() |
x |
Coordinate | |
![]() |
y |
Coordinate | |
![]() |
col |
Pixel colour | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Canvas |
![]() |
Background colour |
The colour of the canvas background | |
![]() |
Border |
Set to draw a border around the canvas | |
![]() |
Advanced |
![]() |
Custom Attributes |