Canvas Type

Constructors

Constructor Description

Canvas()

Full Usage: Canvas()

Returns: Canvas
Returns: Canvas

Instance members

Instance member Description

this.WithStyle

Full Usage: this.WithStyle

Parameters:
styles : seq<CyStyleParam>

Static members

Static member Description

Canvas.InitDefault()

Full Usage: Canvas.InitDefault()

Returns: Canvas

Init a default canvas for responsive rendering ( width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; )

Returns: Canvas