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