Fundamentals
Components
Code Utilities
Demo
BcCanvasBuilder
Warning
Implementation is not complete.
Description
The BcCanvasBuilder provides functionality to create an HTML5 Canvas in JavaScript from C# code. It acts as an interface for calling JavaScript functions. The script generated by BcCanvasBuilder must be executed and run in JavaScript. You can use the DomService ExecuteScript function to run the Canvas. Reference: W3Schools Canvas.
Colors, Styles, and Shadows
FillStyle ( string cssColor )
Sets or returns the color, gradient, or pattern used to fill the drawing.
void
StrokeStyle ( string cssColor )
Sets or returns the color, gradient, or pattern used for strokes.
void
ShadowColor ( string cssColor )
Sets or returns the color to use for shadows.
void
ShadowBlur ( int pixels )
Sets or returns the blur level for shadows.
void
ShadowOffsetX ( int pixels )
Sets or returns the horizontal distance of the shadow from the shape.
void
ShadowOffsetY ( int pixels )
Sets or returns the vertical distance of the shadow from the shape.
void