Drawing and interaction
Native Qt
Path
Path is a native Zui component in the drawing and interaction catalog, with 17 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.
path "M 20 120 C 90 20, 180 20, 250 120", width: 280, height: 150, stroke: "#b7ff5a", fill: "transparent", stroke_width: 3
API
Component properties
17 component-specific values, plus shared item and layout properties.
dataData configuration for Path.propertywidthWidth configuration for Path.propertyheightHeight configuration for Path.propertystrokeStroke configuration for Path.propertyfillFill configuration for Path.propertystroke_widthStroke width configuration for Path.propertycapCap configuration for Path.propertyjoinJoin configuration for Path.propertyfill_ruleFill rule configuration for Path.propertydash_patternDash pattern configuration for Path.propertydash_offsetDash offset configuration for Path.propertyscaleScale configuration for Path.propertypreferred_rendererPreferred renderer configuration for Path.propertyasynchronousAsynchronous configuration for Path.propertycontains_modeContains mode configuration for Path.propertyantialiasingAntialiasing configuration for Path.propertyvisibleVisible configuration for Path.propertyShow 13 shared item properties
enabledopacityrotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
statusNative event payload↗
clickNative event payload↗
hoverNative event payload