Skip to main content

OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeWidth

Function OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeWidth 

Source
pub unsafe extern "C" fn OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeWidth(
    mask: *mut ArkUI_RenderNodeMaskOption,
    strokeWidth: f32,
)
Available on crate feature api-20 only.
Expand description

Set the stroke width of RenderNodeMask option.

ยงArguments

  • mask - Pointer to the RenderNodeMask option.

  • strokeWidth - The stroke width of the mask.

Available since API-level: 20