Font.GetB Method

Returns an B spacing (from ABC metric) for the given character.

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

Syntax

C#
public float GetB(
	char symbol
)

Parameters

symbol

Type: System.Char

The character to retrieve the B spacing for.

Return Value

The B spacing from 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 glyph.
  • B spacing - the width of the drawn portion of the glyph.
  • C spacing - the distance to add to the current position to provide white space to the right of the glyph.

The total width of a character is the sum 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