Interface: ReliefOptions
Makes tiles look raised: a bevel round each tile's edges, lit from one side, and optionally a shadow each tile casts into the grout (the gaps) on the other.
Properties
bevel?
ts
optional bevel?: number;Bevel width in layout units. Defaults to 8% of a typical tile's size; 0 for none.
light?
ts
optional light?: number;Direction the light comes from: degrees clockwise from the top (default 315, top left).
shadow?
ts
optional shadow?: number;How far tiles' shadows fall into the grout, in layout units (default 0: no shadow).
shadowBlur?
ts
optional shadowBlur?: number;Blur of the cast shadow (standard deviation, layout units). Defaults to shadow.
shadowOpacity?
ts
optional shadowOpacity?: number;Opacity of the cast shadow. Defaults to 0.35.
strength?
ts
optional strength?: number;Opacity of the brightest highlight and the darkest bevel shadow, 0–1. Defaults to 0.4.