CssNumericType Class

The type of a numeric value, returned by CssNumericValue.Type (https://drafts.css-houdini.org/css-typed-om-1/#dictdef-cssnumerictype).

public sealed class CssNumericType

Constructors

NameDescription
CssNumericType()

CssNumericType()

public CssNumericType()

No documentation is available.

Properties

NameDescription
AngleGets the exponent of the angle base type, or null when it is zero.
FlexGets the exponent of the flex base type, or null when it is zero.
FrequencyGets the exponent of the frequency base type, or null when it is zero.
LengthGets the exponent of the length base type, or null when it is zero.
PercentGets the exponent of the percent base type, or null when it is zero.
PercentHintGets the base type that percentages are resolved against, or null when there is none.
ResolutionGets the exponent of the resolution base type, or null when it is zero.
TimeGets the exponent of the time base type, or null when it is zero.

Gets the exponent of the angle base type, or null when it is zero.

public int? Angle { get; init; }

Gets the exponent of the flex base type, or null when it is zero.

public int? Flex { get; init; }

Gets the exponent of the frequency base type, or null when it is zero.

public int? Frequency { get; init; }

Gets the exponent of the length base type, or null when it is zero.

public int? Length { get; init; }

Gets the exponent of the percent base type, or null when it is zero.

public int? Percent { get; init; }

Gets the base type that percentages are resolved against, or null when there is none.

public CssNumericBaseType? PercentHint { get; init; }

Gets the exponent of the resolution base type, or null when it is zero.

public int? Resolution { get; init; }

Gets the exponent of the time base type, or null when it is zero.

public int? Time { get; init; }