# oh-canvas-layout - Canvas Layout

Position widgets on a canvas layout with arbitrary position and size down to pixel resolution

# Configuration

# Layout Settings

# grid Grid size INTEGER

Grid size in pixels used to snap content (default 20)

# Screen Settings

# screenWidth Screen Width INTEGER

Screen width in pixels (default 1280)

# screenHeight Screen Height INTEGER

Screen width in pixels (default 720)

# scale Scaling BOOLEAN

Scale content to screen width (can lead to unexpected styling issues) (default false)

# imageUrl Image URL TEXT url

The URL of the image to display as background

# imageSrcSet Image Source Set TEXT

The src-set attribute of background image element to take into account mulitple device resolutions. For example: "/static/floorplans/floor-0.jpg, /static/floorplans/[email protected] 2x"

# Canvas items shadow

# boxShadow Box shadow TEXT

Shadow applied to box elements (box-shadow CSS syntax).

# textShadow Text shadow TEXT

Shadow applied to text elements or font icons (text-shadow CSS syntax)

# filterShadow Fitler Shadow TEXT

Shadow applied to raster or SVG image elements (filter: drop-shadow() CSS syntax)