Table of Contents

Class Plane

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

Fields

OffsetX

public float OffsetX

Field Value

float

OffsetY

public float OffsetY

Field Value

float

Properties

BackgroundColor

public SKColor BackgroundColor { get; set; }

Property Value

SKColor

CachedObject

public CachedObject CachedObject { get; set; }

Property Value

CachedObject

Destination

public SKRect Destination { get; set; }

Property Value

SKRect

Id

public string Id { get; set; }

Property Value

string

IsReady

public bool IsReady { get; set; }

Property Value

bool

LastDrawnAt

public SKRect LastDrawnAt { get; set; }

Property Value

SKRect

RenderObject

public RenderObject RenderObject { get; set; }

Property Value

RenderObject

RenderTree

Rendering tree specific to this plane's content, captured during plane preparation. Immutable snapshot to prevent race conditions during gesture processing.

public IReadOnlyList<SkiaControlWithRect> RenderTree { get; }

Property Value

IReadOnlyList<SkiaControlWithRect>

RenderTreeCaptureOffset

The scroll position when this plane's render tree was captured. Used for coordinate transformation during gesture processing.

public SKPoint RenderTreeCaptureOffset { get; }

Property Value

SKPoint

RenderTreeCapturePlaneOffsetY

The plane's OffsetY when this plane's render tree was captured. Used for coordinate transformation during gesture processing.

public float RenderTreeCapturePlaneOffsetY { get; }

Property Value

float

Surface

public SKSurface Surface { get; set; }

Property Value

SKSurface

Methods

CaptureRenderTree(List<SkiaControlWithRect>, SKPoint, float)

Captures rendering tree when plane content is prepared

public void CaptureRenderTree(List<SkiaControlWithRect> tree, SKPoint captureOffset, float planeOffsetY)

Parameters

tree List<SkiaControlWithRect>

The rendering tree to capture

captureOffset SKPoint

The scroll offset when this tree was captured

planeOffsetY float

The plane's OffsetY when this tree was captured

Invalidate()

public void Invalidate()

Reset(SKSurface, SKRect)

public void Reset(SKSurface surface, SKRect source)

Parameters

surface SKSurface
source SKRect

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.