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
constructArgumentsConstructArgument[]
FontFace(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected FontFace(CreationData data)
Parameters
dataCreationData
FontFace(FontFaceHandle)
protected FontFace(FontFaceHandle handle)
Parameters
handleFontFaceHandle
Methods
Describe()
public FontDescription Describe()
Returns
GetFaceName()
public string GetFaceName()
Returns
GetFamily()
[Version("1.46")]
public FontFamily GetFamily()
Returns
GetGType()
public static Type GetGType()
Returns
IsSynthesized()
[Version("1.18")]
public bool IsSynthesized()
Returns
NewFromPointer(nint, bool)
Creates a new managed FontFace instance for a given pointer.
public static FontFace NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new FontFace and sets the properties specified by the construct arguments.
public static FontFace NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.