Class FontSettings
Namespace: Aurigma.DesignAtoms.Model.Items
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class FontSettings : IFontSettings
Inheritance: System.Object -> FontSettings
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
FontSettings
public FontSettings()
FontSettings
public FontSettings(IFontSettings fontSettings)
Properties
PostScriptName
public string PostScriptName { get; set; }
Family
public string Family { get; set; }
Style
public string Style { get; set; }
Size
public float Size { get; set; }
FauxBold
public bool FauxBold { get; set; }
FauxItalic
public bool FauxItalic { get; set; }
AllCaps
public bool AllCaps { get; set; }
OpenTypeFeatures
public IList<OpenTypeFeature> OpenTypeFeatures { get; }
Methods
SetTypeOpenFeature
public void SetTypeOpenFeature(OpenTypeFeature feature)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.OpenTypeFeature | feature |
CopyTo
public void CopyTo(IFontSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.IFontSettings | settings |
CopyFrom
public void CopyFrom(IFontSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.IFontSettings | settings |
GetBytes
public IEnumerable<byte> GetBytes()
Returns
System.Collections.Generic.IEnumerable<System.Byte>
Equals
protected bool Equals(FontSettings other)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.FontSettings | other |
Returns
System.Boolean
Equals
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
System.Object | obj |
Returns
System.Boolean
Overrides
System.Object.Equals(System.Object)
Equals
public static bool Equals(FontSettings a, FontSettings b)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.FontSettings | a | |
| Aurigma.DesignAtoms.Model.Items.FontSettings | b |
Returns
System.Boolean
GetHashCode
public override int GetHashCode()
Returns
System.Int32
Overrides
System.Object.GetHashCode
Clone
public FontSettings Clone()