Skip to main content

Class SKGraphics

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public static class SKGraphics

Inheritance

objectSKGraphics

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

DumpMemoryStatistics(SKTraceMemoryDump)

public static void DumpMemoryStatistics(SKTraceMemoryDump dump)

Parameters

dump SKTraceMemoryDump

GetFontCacheCountLimit()

public static int GetFontCacheCountLimit()

Returns

int

GetFontCacheCountUsed()

public static int GetFontCacheCountUsed()

Returns

int

GetFontCacheLimit()

public static long GetFontCacheLimit()

Returns

long

GetFontCacheUsed()

public static long GetFontCacheUsed()

Returns

long

GetResourceCacheSingleAllocationByteLimit()

public static long GetResourceCacheSingleAllocationByteLimit()

Returns

long

GetResourceCacheTotalByteLimit()

public static long GetResourceCacheTotalByteLimit()

Returns

long

GetResourceCacheTotalBytesUsed()

public static long GetResourceCacheTotalBytesUsed()

Returns

long

Init()

public static void Init()

PurgeAllCaches()

public static void PurgeAllCaches()

PurgeFontCache()

public static void PurgeFontCache()

PurgeResourceCache()

public static void PurgeResourceCache()

SetFontCacheCountLimit(int)

public static int SetFontCacheCountLimit(int count)

Parameters

count int

Returns

int

SetFontCacheLimit(long)

public static long SetFontCacheLimit(long bytes)

Parameters

bytes long

Returns

long

SetResourceCacheSingleAllocationByteLimit(long)

public static long SetResourceCacheSingleAllocationByteLimit(long bytes)

Parameters

bytes long

Returns

long

SetResourceCacheTotalByteLimit(long)

public static long SetResourceCacheTotalByteLimit(long bytes)

Parameters

bytes long

Returns

long