Appearance
VextNoteCanvas
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| width | Width of the canvas | number | - | 300 |
| height | Height of the canvas | number | - | 120 |
| backgroundColor | Background color of the canvas. | string | - | 'rgba(255, 255, 255, 0)' |
| zIndex | CSS z-index to set for the canvas. | string|number | - | 100 |
| showBorder | Whether to draw a border around the canvas. | boolean | - | true |
| borderColor | Color of the canvas border, if one should be shown. | string | - | "lightgray" |
| borderSize | Size of the canvas border, if one should be shown. | string|number | - | 1 |
| borderStyle | Style of the canvas border, if one should be shown. | string | solid, dashed, dotted, double, groove, ridge, inset, outset | "solid" |
| borderRadius | Radius of the canvas border corners, if one should be shown. | string|number | - | 5 |