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.
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.propertyheightHeight configuration for Rectangular Shadow.propertyblurBlur configuration for Rectangular Shadow.propertyspreadSpread configuration for Rectangular Shadow.propertyradiusRadius configuration for Rectangular Shadow.propertyoffset_xOffset x configuration for Rectangular Shadow.propertyoffset_yOffset y configuration for Rectangular Shadow.propertycolorColor configuration for Rectangular Shadow.propertycachedCached configuration for Rectangular Shadow.propertyantialiasingAntialiasing configuration for Rectangular Shadow.propertyvisibleVisible configuration for Rectangular Shadow.propertyShow 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.