Table of Contents

Class AspectRatio

Namespace
ScanbotSDK.MAUI.Core.Geometry
Assembly
ScanbotSDK.Shared.dll

Aspect ratio is the ratio of the width to the height of an image or screen.

public class AspectRatio
Inheritance
AspectRatio
Inherited Members

Constructors

AspectRatio()

public AspectRatio()

AspectRatio(double, double)

public AspectRatio(double width, double height)

Parameters

width double
height double

Properties

Height

Height component of the aspect ratio.

Default is 1.0

public double Height { get; init; }

Property Value

double

Width

Width component of the aspect ratio.

Default is 1.0

public double Width { get; init; }

Property Value

double