Documentation
    Preparing search index...

    Enumeration ScaleType

    Options for scaling the child bounds to the parent bounds

    Index

    Enumeration Members

    center: number

    Performs no scaling.

    centerCrop: number

    Scales the child so that both dimensions will be greater than or equal to the corresponding dimension of the parent.

    centerInside: number

    Scales the child so that it fits entirely inside the parent.

    fitCenter: number

    Scales the child so that it fits entirely inside the parent.

    fitEnd: number

    Scales the child so that it fits entirely inside the parent.

    fitStart: number

    Scales the child so that it fits entirely inside the parent.

    fitXY: number

    Scales width and height independently, so that the child matches the parent exactly.

    focusCrop: number

    Scales the child so that both dimensions will be greater than or equal to the corresponding dimension of the parent.