Table of Contents

Class RasterizationException

Namespace
KernSmith
Assembly
KernSmith.dll

Thrown when a glyph can't be rendered from the font.

public class RasterizationException : BmFontException, ISerializable
Inheritance
RasterizationException
Implements
Inherited Members

Constructors

RasterizationException(int, string)

Creates a rasterization error for a specific character that failed.

public RasterizationException(int codepoint, string details)

Parameters

codepoint int

Unicode character code that failed (e.g., 0x0041 for 'A').

details string

What went wrong.

RasterizationException(string)

Creates a rasterization error with a message.

public RasterizationException(string message)

Parameters

message string

What went wrong.

RasterizationException(string, Exception)

Creates a rasterization error with a message and the original exception.

public RasterizationException(string message, Exception inner)

Parameters

message string

What went wrong.

inner Exception

The underlying exception.

Properties

Codepoint

Unicode character code that failed to render, if known.

public int? Codepoint { get; }

Property Value

int?