zng::text

Function strikethrough

source
pub fn strikethrough(
    child: impl UiNode,
    thickness: impl IntoVar<Length>,
    style: impl IntoVar<LineStyle>,
) -> impl UiNode
Expand description

P Draw lines across each text line.

Sets the STRIKETHROUGH_THICKNESS_VAR and STRIKETHROUGH_STYLE_VAR.