ClassTypeface
Definition
Namespace:Telerik.WinControls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class Typeface
Inheritance: objectTypeface
Constructors
Typeface(FontFamily, FontStyle, FontWeight, FontStretch)
Initializes a new instance of the class for the specified font family name, , , and values. In addition, a fallback font family is specified.
Declaration
public Typeface(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch)
Parameters
fontFamily
The font family of the typeface.
style
The style of the typeface.
weight
The relative weight of the typeface.
stretch
The degree to which the typeface is stretched.
Properties
FontFamily
Gets the name of the font family from which the typeface was constructed.
Declaration
public FontFamily FontFamily { get; }
Property Value
The FontFamily from which the typeface was constructed.
Stretch
Gets the stretch value for the . The stretch value determines whether a typeface is expanded or condensed when it is displayed.
Declaration
public FontStretch Stretch { get; }
Property Value
A value that represents the stretch value for the typeface.
Style
Gets the style of the .
Weight
Gets the relative weight of the typeface.
Declaration
public FontWeight Weight { get; }
Property Value
A FontWeight value that represents the relative weight of the typeface.