Egui::RectCmd
Inherits Struct < Value < Object
Constructors
new(clip : Rect, rect : Rect, rounding : Float64, fill : Color32 | Nil, stroke_color : Color32 | Nil, stroke_width : Float64, fill2 : Color32 | Nil = nil, replace : Bool = false)
SourceInstance methods
clip
Sourcefill
Sourcefill2
Optional second fill color: when set, the fill becomes a vertical
gradient from fill (top) to fill2 (bottom) — the backend
interpolates per-vertex (Gouraud).
rect
Sourcereplace?
Blend-off fill: OVERWRITE dst (rgb AND alpha) instead of blending — see Painter#rect_replace.
rounding
Sourcestroke_color
Sourcestroke_width
Source