zng_wgt_text

Function strikethrough

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

P Draw lines across each text line.

Sets the STRIKETHROUGH_THICKNESS_VAR and STRIKETHROUGH_STYLE_VAR.