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 CssNumericTypeConstructors
| Name | Description |
|---|---|
| CssNumericType() |
CssNumericType()
public CssNumericType()No documentation is available.
Properties
| Name | Description |
|---|---|
| Angle | Gets the exponent of the angle base type, or null when it is zero. |
| Flex | Gets the exponent of the flex base type, or null when it is zero. |
| Frequency | Gets the exponent of the frequency base type, or null when it is zero. |
| Length | Gets the exponent of the length base type, or null when it is zero. |
| Percent | Gets the exponent of the percent base type, or null when it is zero. |
| PercentHint | Gets the base type that percentages are resolved against, or null when there is none. |
| Resolution | Gets the exponent of the resolution base type, or null when it is zero. |
| Time | Gets the exponent of the time base type, or null when it is zero. |
Angle
CssNumericType.csGets 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; }Frequency
CssNumericType.csGets the exponent of the frequency base type, or null when it is zero.
public int? Frequency { get; init; }Property value
See also
Length
CssNumericType.csGets the exponent of the length base type, or null when it is zero.
public int? Length { get; init; }Percent
CssNumericType.csGets the exponent of the percent base type, or null when it is zero.
public int? Percent { get; init; }PercentHint
CssNumericType.csGets the base type that percentages are resolved against, or null when there is none.
public CssNumericBaseType? PercentHint { get; init; }Resolution
CssNumericType.csGets the exponent of the resolution base type, or null when it is zero.
public int? Resolution { get; init; }Property value
See also
Gets the exponent of the time base type, or null when it is zero.
public int? Time { get; init; }