Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::InsetClipPath Struct Reference

An inset rectangle with optional elliptical corners used as a CSS clipping shape. More...

#include "donner/svg/properties/ClipPath.h"

Public Member Functions

bool hasRoundedCorners () const
 Whether any specified radius requires rounded-corner geometry admission.
bool operator== (const InsetClipPath &) const =default

Public Attributes

RadialClipPath::Box box = RadialClipPath::Box::Stroke
 SVG reference geometry.
std::array< Lengthd, 4 > offsets {}
 Insets in top, right, bottom, left order.
std::array< Lengthd, 4 > radiiX {}
 Horizontal radii in top-left clockwise order.
std::array< Lengthd, 4 > radiiY {}
 Vertical radii in top-left clockwise order.

Detailed Description

An inset rectangle with optional elliptical corners used as a CSS clipping shape.


The documentation for this struct was generated from the following file: