AngleSharp by Florian Rappl

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

.NET API 844,288 bytes

 CSSCalcValue

public abstract class CSSCalcValue : CSSValue
Gets a computed value. Could also be just an absolute or relative value.
public static readonly CSSCalcValue Center

Gets a value that computes to 50% of the original dimension.

public static readonly CSSCalcValue Full

Gets a value that computes to 100% of the original dimension.

public static readonly CSSCalcValue Zero

Gets a value that computes to 0.

protected CSSCalcValue()

public static CSSCalcValue FromLength(Length length)

Creates a new calculated value from the given length.

public static CSSCalcValue FromPercent(Percent percent)

Creates a new calculated value from the given percentage.

Creates a new computed length value based on the current value.

public abstract float ToPixel()

Transforms the given calculated value to pixels.