easy_svg_shape_as_path()
Returns a path element for a circle, ellipse, rect, line or polyline, or null.
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_shape_as_path( DOMDocument $doc, DOMElement $element ): ?DOMElement
Example
$path = easy_svg_shape_as_path( $doc, $circle );
Description
Returns a path element for a circle, ellipse, rect, line or polyline, or null. A helper of easy_svg_core_icon(), pure and without WordPress.
Related
Was this page helpful?