FontStretch
Definition
Namespace:Telerik.WinControls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public struct FontStretch : IFormattable
Implements:
Methods
Compares two instances of objects.
public static int Compare(FontStretch left, FontStretch right)
The first object to compare.
rightFontStretchThe second object to compare.
Returns:An int value that represents the relationship between the two instances of .
Compares a object with the current object.
public bool Equals(FontStretch obj)
The instance of the object to compare for equality.
Returns:true if two instances are equal; otherwise, false.
Creates a new instance of that corresponds to the OpenType usStretchClass value.
public static FontStretch FromOpenTypeStretch(int stretchValue)
An integer value between one and nine that corresponds to the usStretchValue definition in the OpenType specification.
Returns:A new instance of .
Returns a value that represents the OpenType usStretchClass for this object.
public int ToOpenTypeStretch()
An integer value between 1 and 999 that corresponds to the usStretchClass definition in the OpenType specification.
Operators
Evaluates two instances of to determine inequality.
public static bool operator !=(FontStretch left, FontStretch right)
The first instance of to compare.
rightFontStretchThe second instance of to compare.
Returns:false if left is equal to right; otherwise, true.
Evaluates two instances of to determine whether one instance is less than the other.
public static bool operator <(FontStretch left, FontStretch right)
The first instance of to compare.
rightFontStretchThe second instance of to compare.
Returns:true if left is less than right; otherwise, false.
Evaluates two instances of to determine whether one instance is less than or equal to the other.
public static bool operator <=(FontStretch left, FontStretch right)
The first instance of to compare.
rightFontStretchThe second instance of to compare.
Returns:true if left is less than or equal to right; otherwise, false.
Compares two instances of for equality.
public static bool operator ==(FontStretch left, FontStretch right)
First instance of to compare.
rightFontStretchSecond instance of to compare.
Returns:true when the specified objects are equal; otherwise, false.
Evaluates two instances of to determine if one instance is greater than the other.
public static bool operator >(FontStretch left, FontStretch right)
First instance of to compare.
rightFontStretchSecond instance of to compare.
Returns:true if left is greater than right; otherwise, false.
Evaluates two instances of to determine whether one instance is greater than or equal to the other.
public static bool operator >=(FontStretch left, FontStretch right)
The first instance of to compare.
rightFontStretchThe second instance of to compare.
Returns:true if left is greater than or equal to right; otherwise, false.