Table of Contents

Struct ScaledPoint

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public struct ScaledPoint
Inherited Members
Extension Methods

Constructors

ScaledPoint()

public ScaledPoint()

Properties

Pixels

public SKPoint Pixels { readonly get; set; }

Property Value

SKPoint

Scale

public double Scale { readonly get; set; }

Property Value

double

Units

public SKPoint Units { readonly get; set; }

Property Value

SKPoint

Methods

FromPixels(SKPoint, float)

public static ScaledPoint FromPixels(SKPoint size, float scale)

Parameters

size SKPoint
scale float

Returns

ScaledPoint

FromPixels(float, float, float)

public static ScaledPoint FromPixels(float width, float height, float scale)

Parameters

width float
height float
scale float

Returns

ScaledPoint

FromUnits(float, float, float, bool)

public static ScaledPoint FromUnits(float width, float height, float scale, bool roundPixels = true)

Parameters

width float
height float
scale float
roundPixels bool

Returns

ScaledPoint