CssMathClamp Class
The clamp() function (https://drafts.css-houdini.org/css-typed-om-1/#cssmathclamp).
public sealed class CssMathClamp : CssMathValue- Inheritance
CssMathValueCssMathClamp
Constructors
| Name | Description |
|---|---|
| CssMathClamp(CssNumberish, CssNumberish, CssNumberish) | https://drafts.css-houdini.org/css-typed-om-1/#dom-cssmathclamp-cssmathclamp |
CssMathClamp(CssNumberish, CssNumberish, CssNumberish)
CssMathValue.cshttps://drafts.css-houdini.org/css-typed-om-1/#dom-cssmathclamp-cssmathclamp
public CssMathClamp(CssNumberish lower, CssNumberish value, CssNumberish upper)Properties
| Name | Description |
|---|---|
| Lower | Gets the lower bound (the minimum) of the clamp() expression. |
| Upper | Gets the upper bound (the maximum) of the clamp() expression. |
| Value | Gets the preferred value of the clamp() expression. |
Lower
CssMathValue.csGets the lower bound (the minimum) of the clamp() expression.
public CssNumericValue Lower { get; }Property value
See also
Upper
CssMathValue.csGets the upper bound (the maximum) of the clamp() expression.
public CssNumericValue Upper { get; }Property value
See also
Value
CssMathValue.csGets the preferred value of the clamp() expression.
public CssNumericValue Value { get; }