AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.1" />

.NET API 1,172,480 bytes

 CssClipProperty

More information can be found: https://developer.mozilla.org/en-US/docs/Web/CSS/clip
using AngleSharp.Css; using AngleSharp.Css.Values; using AngleSharp.Extensions; namespace AngleSharp.Dom.Css { internal sealed class CssClipProperty : CssProperty, ICssClipProperty, ICssProperty { internal static readonly IValueConverter<Shape> Converter = Converters.ShapeConverter.OrDefault(); internal static readonly Shape Default = null; private Shape _shape; public Shape Clip => _shape; internal CssClipProperty(CssStyleDeclaration rule) : base(PropertyNames.Clip, rule, PropertyFlags.Animatable) { Reset(); } public void SetClip(Shape shape) { _shape = shape; } internal override void Reset() { _shape = Default; } protected override bool IsValid(ICssValue value) { return Converter.TryConvert(value, SetClip); } } }