Table of Contents

Class PlessFontHandler

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Platformless IFontHandler implementation.

public class PlessFontHandler : DisposableObject, IBaseObject, IDisposableObject, IFontHandler, IDisposable
Inheritance
PlessFontHandler
Implements

Constructors

PlessFontHandler()

Initializes a new instance of the PlessFontHandler class.

PlessFontHandler(string, double)

Initializes a new instance of the PlessFontHandler class.

Properties

Description

Gets a description string that represents the font.

Name

Gets name of the font.

SizeInPoints

Gets the em-size, in points, of the font.

Style

Gets or sets font style.

Methods

Changed()

Called when font properties are changed.

Equals(Font)

Indicates whether font is equal to another font.

GetEncoding()

Gets font encoding.

GetItalic()

Gets a value that indicates whether font is italic.

GetNumericWeight()

Gets font weight.

GetPixelSize()

Gets font size in pixels.

GetStrikethrough()

Gets a value that indicates whether font is strikethrough.

GetUnderlined()

Gets a value that indicates whether font is underlined.

GetWeight()

Gets font weight.

IsFixedWidth()

Gets whether font is a fixed width (monospaced) font.

IsUsingSizeInPixels()

Gets whether font is using size in pixels.

Serialize()

Gets font as serialized string.

SetEncoding(FontEncoding)

Sets font encoding.

SetIsFixedWidth(bool)

Sets whether or not font is fixed-pitch.

SetNumericWeight(int)

Sets font weight as numeric value.

SetWeight(FontWeight)

Sets font weight.

Update(FontParams)

Updates font properties.