Class PngPongImageCopyTransformer
Hierarchy
-
PngPongImageCopyTransformer
Constructors
constructor
-
Parameters
-
sourceImage: ArrayBuffer
-
targetTransformer: PngPong
Methods
copy
- copy(sourceX: number, sourceY: number, sourceWidth: number, sourceHeight: number, targetX: number, targetY: number, mask?: ColorMaskOptions): void
-
Parameters
-
sourceX: number
-
sourceY: number
-
sourceWidth: number
-
sourceHeight: number
-
targetX: number
-
targetY: number
-
Returns void
A transformer to copy one or more sections of an image onto another.
PngPongImageCopyTransformer