SurfaceOptions
Interface
Configuration options for a drawing surface (see example).
Definition
Package:@progress/kendo-drawing
Properties
click?
(e: SurfaceEvent) => void
The handler for the click event.
Parameters:eSurfaceEvent
height?
string
The height of the surface element. By default, the surface expands to fill the height of the first positioned container.
Default:
"100%"
mouseenter?
(e: SurfaceEvent) => void
The handler for the mouseenter event.
Parameters:eSurfaceEvent
mouseleave?
(e: SurfaceEvent) => void
The handler for the mouseleave event.
Parameters:eSurfaceEvent
mousemove?
(e: SurfaceEvent) => void
The handler for the mousemove event.
Parameters:eSurfaceEvent
type?
"svg" | "canvas"
The preferred type of surface to create. If not supported by the browser, the option will be ignored.
width?
string
The width of the surface element. By default, the surface expands to fill the width of the first positioned container.
Default:
"100%"