FontFeature Class
Font feature
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class FontFeature : IEquatable<FontFeature>
Public Class FontFeature
Implements IEquatable(Of FontFeature)
type FontFeature =
class
interface IEquatable<FontFeature>
end
Inheritance | Object → FontFeature |
Implements | IEquatable(FontFeature) |
Constructors
FontFeature() | Creates an instance of FontFeature. |
Properties
End | Gets or sets the end. |
Start | Gets or sets the start. |
Tag | Gets or sets the tag. |
Value | Gets or sets the value. |
Methods
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
Parse(String) | Parses a string to return a FontFeature. Syntax is the following: Syntax Value Start End Setting value: kern 1 0 ∞ Turn feature on +kern 1 0 ∞ Turn feature on -kern 0 0 ∞ Turn feature off kern=0 0 0 ∞ Turn feature off kern=1 1 0 ∞ Turn feature on aalt=2 2 0 ∞ Choose 2nd alternate Setting index: kern[] 1 0 ∞ Turn feature on kern[:] 1 0 ∞ Turn feature on kern[5:] 1 5 ∞ Turn feature on, partial kern[:5] 1 0 5 Turn feature on, partial kern[3:5] 1 3 5 Turn feature on, range kern[3] 1 3 3+1 Turn feature on, single char Mixing it all: aalt[3:5]=2 2 3 5 Turn 2nd alternate on for range |
ToString() | Gets a string representation of the FontFeature. (Overrides Object.ToString()) |