scanbotsdk
    Preparing search index...

    Class AspectRatio

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

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • source: DeepPartial<AspectRatio> = {}

      Returns AspectRatio

    Properties

    height: number = 1.0

    Height component of the aspect ratio.

    Default is 1.0.

    width: number = 1.0

    Width component of the aspect ratio.

    Default is 1.0.