Table of Contents

Class FontFace

Namespace
Pango
Assembly
Pango-1.0.dll
public class FontFace : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
FontFace
Implements
Inherited Members

Constructors

FontFace(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public FontFace(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

FontFace(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected FontFace(CreationData data)

Parameters

data CreationData

FontFace(FontFaceHandle)

protected FontFace(FontFaceHandle handle)

Parameters

handle FontFaceHandle

Methods

Describe()

public FontDescription Describe()

Returns

FontDescription

GetFaceName()

public string GetFaceName()

Returns

string

GetFamily()

[Version("1.46")]
public FontFamily GetFamily()

Returns

FontFamily

GetGType()

public static Type GetGType()

Returns

Type

IsSynthesized()

[Version("1.18")]
public bool IsSynthesized()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed FontFace instance for a given pointer.

public static FontFace NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

FontFace

NewWithProperties(ConstructArgument[])

Creates a new FontFace and sets the properties specified by the construct arguments.

public static FontFace NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

FontFace