Class Fontset
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public class Fontset : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Fontset
- Implements
- Derived
- Inherited Members
Constructors
Fontset(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 Fontset(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Fontset(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Fontset(CreationData data)
Parameters
dataCreationData
Fontset(FontsetHandle)
protected Fontset(FontsetHandle handle)
Parameters
handleFontsetHandle
Methods
Foreach(FontsetForeachFunc)
[Version("1.4")]
public void Foreach(FontsetForeachFunc func)
Parameters
funcFontsetForeachFunc
GetFont(uint)
public Font GetFont(uint wc)
Parameters
wcuint
Returns
GetGType()
public static Type GetGType()
Returns
GetMetrics()
public FontMetrics GetMetrics()
Returns
NewFromPointer(nint, bool)
Creates a new managed Fontset instance for a given pointer.
public static Fontset NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Fontset and sets the properties specified by the construct arguments.
public static Fontset NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.