ClipRule Enum

ClipRule enumeration

Defines the rule to determine how to clip paths in SVG graphics.

public enum ClipRule

Values

NameValueDescription
Nonzero0The nonzero winding rule for clipping paths.
Evenodd1The even-odd winding rule for clipping paths.

Remarks

The clip rule property in SVG determines how paths are clipped. It is particularly important when a path intersects with itself or when multiple paths are combined. The rule helps in deciding which parts of the path are “inside” and should be filled (or visible) and which are “outside” and should be clipped (or invisible).

See Also