gis-tools-ts - v0.6.0
    Preparing search index...

    Function copyImage

    • Copy the contents of the source image to the destination image

      Parameters

      • source: ImageData

        the source image

      • dest: ImageData

        the destination image

      • sx: number = 0

        source starting x point [Default: 0]

      • sy: number = 0

        source starting y point [Default: 0]

      • sw: number = ...

        source width to use [Default: source width - sx]

      • sh: number = ...

        source height to use [Default: source height - sy]

      • dx: number = 0

        destination starting x point [Default: 0]

      • dy: number = 0

        destination starting y point [Default: 0]

      Returns void