Clanbite Since 1.3.0
clanbite_avatar_hexagon_points( float $radius ): stringPoints of a point-up regular hexagon with rounded corners, as an SVG points list.
Corners are arcs sampled at 6 steps so the SVG frame matches the CSS photo clip (--clanbite-avatar-clip-*, generated with the same 20% corner radius). Points run clockwise from the top, so a ring arc (pathLength) starts at 12 o'clock.
Parameters
$radius(float) RequiredHalf-size in viewBox units (0 to 50).
Returns
string Space-separated x,y pairs.
Defined in inc/avatar-helpers.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Introduced. |