WebFont

WebFont class

Represents a font settings for the web

public sealed class WebFont : ICloneable, IEquatable<WebFont>

Properties

Name Description
Color { get; set; } Font color in ARGB32 format
Line { get; set; } Sets a line or combination of lines, applied to the text
Name { get; set; } Sets the font name. If not specified, the default font will be used
Size { get; set; } Sets the size of the font in absolute or relative units
Style { get; set; } Sets whether a font should be styled with a normal, italic, or oblique face from its font-family.
Weight { get; set; } Sets the weight (or boldness) of the font

Methods

Name Description
Clone() Creates and returns a full deep copy of this WebFont instance
override Equals(object) Determines whether this instance of WebFont is equal to specified uncasted object
Equals(WebFont) Determines whether this instance of WebFont is equal to specified

See Also