Table of Contents

Class VisualTransform

Namespace
DrawnUi.Infrastructure
Assembly
DrawnUi.Maui.dll

Will enhance this in the future to include more properties

public class VisualTransform
Inheritance
VisualTransform
Inherited Members
Extension Methods

Constructors

VisualTransform()

public VisualTransform()

Properties

Frame

public ScaledRect Frame { get; set; }

Property Value

ScaledRect

IsVisible

public bool IsVisible { get; set; }

Property Value

bool

Logs

public string Logs { get; set; }

Property Value

string

Opacity

public float Opacity { get; set; }

Property Value

float

RenderedNodes

public int RenderedNodes { get; set; }

Property Value

int

Rotation

public float Rotation { get; set; }

Property Value

float

Scale

Units as from ScaleX and ScaleY

public SKPoint Scale { get; set; }

Property Value

SKPoint

Translation

Units as from TranslationX and TranslationY

public SKPoint Translation { get; set; }

Property Value

SKPoint

Methods

ToNative(SKRect, float)

All input rects are in pixels

public VisualTransformNative ToNative(SKRect rect, float scale)

Parameters

rect SKRect
scale float

Returns

VisualTransformNative