PixelFontInfo

Description

sealed class Tinman.Engine.Drawing.PixelFontInfo

Derived from

IPixelFontInfo

Default implementation of the IPixelFontInfo.

Public / Constructors

For


public static method For → (1)

fontImage in : ColorBuffer

[not-null]
The font image to decode.

returns → PixelFontInfo

The decoded IPixelFontInfo object.

Decodes the given pixel font image and returns a IPixelFontInfo object that contains the glyph metadata and pixel data.

ValidatingException

If fontImage in is not a valid pixel font image, see PixelFontBuilder.

See also

PixelFontBuilder