Blockseasy_svg_stroke_presentation()

easy_svg_stroke_presentation()

Works out the stroke classes for an icon, or reports the stroke as lost when parts are filled.

Function · Easy SVG · Status: Internal · Defined in includes/core-icon.php

Internal: not part of the promised public surface. It may change without notice.

Usage

easy_svg_stroke_presentation( DOMXPath $xpath, DOMElement $root, array &$lost ): array

Example

$stroke = easy_svg_stroke_presentation( $xpath, $doc->documentElement, $lost );

Description

Works out the stroke classes for an icon, or reports the stroke as lost when parts are filled. A helper of easy_svg_core_icon(), pure and without WordPress.