Blockseasy_svg_points_path()

easy_svg_points_path()

Returns path data for a points list, closed for a polygon, open for a polyline.

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_points_path( string $points, bool $close ): string

Example

$d = easy_svg_points_path( '0,0 10,0 10,10', false );

Description

Returns path data for a points list, closed for a polygon, open for a polyline. A helper of easy_svg_core_icon(), pure and without WordPress.