Class Coverage
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public class Coverage : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Coverage
- Implements
- Inherited Members
Constructors
Coverage(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 Coverage(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Coverage(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Coverage(CreationData data)
Parameters
dataCreationData
Coverage(CoverageHandle)
protected Coverage(CoverageHandle handle)
Parameters
handleCoverageHandle
Methods
Copy()
public Coverage Copy()
Returns
FromBytes(Span<byte>)
public static Coverage? FromBytes(Span<byte> bytes)
Parameters
Returns
Get(int)
public CoverageLevel Get(int index)
Parameters
indexint
Returns
GetGType()
public static Type GetGType()
Returns
Max(Coverage)
public void Max(Coverage other)
Parameters
otherCoverage
New()
public static Coverage New()
Returns
NewFromPointer(nint, bool)
Creates a new managed Coverage instance for a given pointer.
public static Coverage NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Coverage and sets the properties specified by the construct arguments.
public static Coverage NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Ref()
public Coverage Ref()
Returns
Set(int, CoverageLevel)
public void Set(int index, CoverageLevel level)
Parameters
indexintlevelCoverageLevel
Unref()
public void Unref()