This documentation is for the old version. Go to the latest Graphics Mill docs

Font.GetA Method

Returns A spacing from ABC metric for given character.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Function GetA ( _
	symbol As Char _
) As Single
C#
public float GetA(
	char symbol
)

Parameters

symbol

Type: System.Char

Character to retrieve A spacing for.

Return Value

Value containing A spacing from ABC metrics for given character.

Remarks

ABC metric is defined for TrueType fonts in the following way:
  • A spacing the distance to add to the current position before drawing the character glyph.
  • B spacing the width of the drawn portion of the character glyph.
  • C spacing the distance to add to the current position to provide white space to the right of the character glyph.
The total width of a character is the summation of the A, B, and C spaces. Either the A or the C space can be negative to indicate underhangs or overhangs.

ABC metric makes no sense for non-TrueType fonts.

See Also

Reference