Skip to main content

paint_card_body

Function paint_card_body 

pub fn paint_card_body(
    scene: &mut Scene,
    transform: Affine,
    rect: Rect,
    theme: &Theme,
)
Expand description

Paint a floating card’s body without its shadow: the opaque ground and its edges. A host that fades or moves the shadow on its own paints it with paint_card_shadow.