zui docs v0.0.5
GitHub ↗
Effects Container Native Qt

Rectangular Shadow

Rectangular Shadow is a native Zui container in the effects catalog, with 11 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
rectangular_shadow width: 360, height: 200, blur: 28, spread: 2, radius: 22, offset_y: 12, color: "#00000088" do
  card { label "Elevated card" }
end
API

Component properties

11 component-specific values, plus shared item and layout properties.

widthWidth configuration for Rectangular Shadow.property
heightHeight configuration for Rectangular Shadow.property
blurBlur configuration for Rectangular Shadow.property
spreadSpread configuration for Rectangular Shadow.property
radiusRadius configuration for Rectangular Shadow.property
offset_xOffset x configuration for Rectangular Shadow.property
offset_yOffset y configuration for Rectangular Shadow.property
colorColor configuration for Rectangular Shadow.property
cachedCached configuration for Rectangular Shadow.property
antialiasingAntialiasing configuration for Rectangular Shadow.property
visibleVisible configuration for Rectangular Shadow.property
Show 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

This renderer is display-only and does not emit component-specific events.