Table of Contents

Class SkiaDrawingContext

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SkiaDrawingContext
Inheritance
SkiaDrawingContext
Derived
Inherited Members
Extension Methods

Properties

Canvas

public SKCanvas Canvas { get; set; }

Property Value

SKCanvas

DeviceDensity

public static float DeviceDensity { get; }

Property Value

float

FrameTimeNanos

public long FrameTimeNanos { get; set; }

Property Value

long

Height

public float Height { get; set; }

Property Value

float

IsRecycled

Reusing surface from previous cache

public bool IsRecycled { get; set; }

Property Value

bool

IsVirtual

Recording cache

public bool IsVirtual { get; set; }

Property Value

bool

Services

public static IServiceProvider Services { get; }

Property Value

IServiceProvider

Superview

public DrawnView? Superview { get; set; }

Property Value

DrawnView

Surface

public SKSurface Surface { get; set; }

Property Value

SKSurface

Width

public float Width { get; set; }

Property Value

float

Methods

Clone()

public SkiaDrawingContext Clone()

Returns

SkiaDrawingContext

CreateForRecordingImage(SKSurface, SKSize)

public SkiaDrawingContext CreateForRecordingImage(SKSurface surface, SKSize size)

Parameters

surface SKSurface
size SKSize

Returns

SkiaDrawingContext

CreateForRecordingOperations(SKPictureRecorder, SKRect)

public SkiaDrawingContext CreateForRecordingOperations(SKPictureRecorder recorder, SKRect cacheRecordingArea)

Parameters

recorder SKPictureRecorder
cacheRecordingArea SKRect

Returns

SkiaDrawingContext