Blockseasy_svg_ellipse_path()

easy_svg_ellipse_path()

Returns path data for a circle or ellipse as two half arcs, or an empty string for a zero radius.

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_ellipse_path( float $cx, float $cy, float $rx, float $ry ): string

Example

$d = easy_svg_ellipse_path( 12, 12, 10, 10 );

Description

Returns path data for a circle or ellipse as two half arcs, or an empty string for a zero radius. A helper of easy_svg_core_icon(), pure and without WordPress.