• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FontVariationAxis

Describes a single design-variation axis in a variable font (OpenType "fvar" table).

Inheritance
object
FontVariationAxis
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Core
Assembly: DRIT.Drawing.dll
Syntax
public sealed class FontVariationAxis

Constructors

FontVariationAxis(string, double, double, double, string)

Initializes a new FontVariationAxis with the specified parameters.

Declaration
public FontVariationAxis(string tag, double minValue, double defaultValue, double maxValue, string axisName)
Parameters
Type Name Description
string tag

Four-character axis tag, e.g. "wght", "wdth", "ital".

double minValue

Minimum user-space value along this axis.

double defaultValue

Default user-space value along this axis.

double maxValue

Maximum user-space value along this axis.

string axisName

Human-readable name of the axis.

Properties

AxisName

Human-readable name of the axis (resolved from well-known tags or the name table).

Declaration
public string AxisName { get; }
Property Value
Type Description
string

DefaultValue

Default user-space value along this axis.

Declaration
public double DefaultValue { get; }
Property Value
Type Description
double

MaxValue

Maximum user-space value along this axis.

Declaration
public double MaxValue { get; }
Property Value
Type Description
double

MinValue

Minimum user-space value along this axis.

Declaration
public double MinValue { get; }
Property Value
Type Description
double

Tag

Four-character axis tag, e.g. "wght", "wdth", "ital".

Declaration
public string Tag { get; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX