Struct EFontStyle
Class for EFontStyle.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.SVG.IO
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public struct EFontStyle
Constructors
EFontStyle(String)
Initializes a new instance of the EFontStyle struct.
Declaration
public EFontStyle(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Properties
Italic
Gets the italic.
Declaration
public static EFontStyle Italic { get; }
Property Value
Type | Description |
---|---|
EFontStyle | The italic. |
Normal
Gets the normal.
Declaration
public static EFontStyle Normal { get; }
Property Value
Type | Description |
---|---|
EFontStyle | The normal. |
Oblique
Gets the oblique.
Declaration
public static EFontStyle Oblique { get; }
Property Value
Type | Description |
---|---|
EFontStyle | The oblique. |
Methods
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Another object to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if |
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that is the hash code for this instance. |
Overrides
System.ValueType.GetHashCode()
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String containing a fully qualified type name. |
Overrides
System.ValueType.ToString()
Operators
Equality(EFontStyle, EFontStyle)
Implements the operator ==.
Declaration
public static bool operator ==(EFontStyle v1, EFontStyle v2)
Parameters
Type | Name | Description |
---|---|---|
EFontStyle | v1 | The v1. |
EFontStyle | v2 | The v2. |
Returns
Type | Description |
---|---|
System.Boolean | The result of the operator. |
Inequality(EFontStyle, EFontStyle)
Implements the operator !=.
Declaration
public static bool operator !=(EFontStyle v1, EFontStyle v2)
Parameters
Type | Name | Description |
---|---|---|
EFontStyle | v1 | The v1. |
EFontStyle | v2 | The v2. |
Returns
Type | Description |
---|---|
System.Boolean | The result of the operator. |