FontFaceDescriptors Class
The descriptors of a FontFace (https://drafts.csswg.org/css-font-loading/#dictdef-fontfacedescriptors).
public sealed class FontFaceDescriptorsConstructors
| Name | Description |
|---|---|
| FontFaceDescriptors() |
FontFaceDescriptors()
FontFace.cspublic FontFaceDescriptors()No documentation is available.
Properties
| Name | Description |
|---|---|
| AscentOverride | Gets the value of the ascent-override descriptor of the font face. |
| DescentOverride | Gets the value of the descent-override descriptor of the font face. |
| Display | Gets the value of the font-display descriptor of the font face. |
| FeatureSettings | Gets the value of the font-feature-settings descriptor of the font face. |
| LineGapOverride | Gets the value of the line-gap-override descriptor of the font face. |
| SizeAdjust | Gets the value of the size-adjust descriptor of the font face. |
| Stretch | The legacy name alias of FontFaceDescriptors.Width, used when FontFaceDescriptors.Width is null. |
| Style | Gets the value of the font-style descriptor of the font face. |
| UnicodeRange | Gets the value of the unicode-range descriptor of the font face. |
| VariationSettings | Gets the value of the font-variation-settings descriptor of the font face. |
| Weight | Gets the value of the font-weight descriptor of the font face. |
| Width | The width of the font face, or null to use FontFaceDescriptors.Stretch. |
AscentOverride
FontFace.csGets the value of the ascent-override descriptor of the font face.
public string AscentOverride { get; init; }Property value
See also
DescentOverride
FontFace.csGets the value of the descent-override descriptor of the font face.
public string DescentOverride { get; init; }Property value
See also
Display
FontFace.csGets the value of the font-display descriptor of the font face.
public string Display { get; init; }Property value
See also
FeatureSettings
FontFace.csGets the value of the font-feature-settings descriptor of the font face.
public string FeatureSettings { get; init; }Property value
See also
LineGapOverride
FontFace.csGets the value of the line-gap-override descriptor of the font face.
public string LineGapOverride { get; init; }Property value
See also
SizeAdjust
FontFace.csGets the value of the size-adjust descriptor of the font face.
public string SizeAdjust { get; init; }Stretch
FontFace.csThe legacy name alias of FontFaceDescriptors.Width, used when FontFaceDescriptors.Width is null.
public string Stretch { get; init; }Property value
See also
Style
FontFace.csGets the value of the font-style descriptor of the font face.
public string Style { get; init; }Property value
See also
UnicodeRange
FontFace.csGets the value of the unicode-range descriptor of the font face.
public string UnicodeRange { get; init; }Property value
See also
VariationSettings
FontFace.csGets the value of the font-variation-settings descriptor of the font face.
public string VariationSettings { get; init; }Weight
FontFace.csGets the value of the font-weight descriptor of the font face.
public string Weight { get; init; }Property value
See also
Width
FontFace.csThe width of the font face, or null to use FontFaceDescriptors.Stretch.
public string? Width { get; init; }