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
Properties
Height
Height component of the aspect ratio.
Default is 1.0
public double Height { get; init; }
Property Value
Width
Width component of the aspect ratio.
Default is 1.0
public double Width { get; init; }