Egui::ShadowCmd
Inherits Struct < Value < Object
CSS box-shadow (no upstream egui counterpart — upstream
epaint::Shadow has no inset and lives in the tessellator's
feathering instead): a blurred band around (outset) or inside
(inset) a rounded rect. blur/spread in points; offset
shifts the caster rect (outset) or pushes the band towards the
opposite edge, CSS-style (inset 0 1px 0 — y+1 down — paints a
band along the TOP edge). The backend approximates the gaussian
falloff with per-vertex gradient bands (Gouraud) — the same
machinery as fill2 gradients.
Constructors
new(clip : Rect, rect : Rect, rounding : Float64, blur : Float64, spread : Float64, offset : Vec2, color : Color32, inset : Bool)
SourceInstance methods
blur
Sourceclip
Sourcecolor
Sourceinset?
Sourceoffset
Sourcerect
Sourcerounding
Sourcespread
Source