import { CanvasPatternBase } from './canvas-plugin.common' ; import { TNSDOMMatrix } from './TNSDOMMatrix' ; export class CanvasPattern extends CanvasPatternBase { constructor ( instance ) { super ( instance ) ; this . nativeInstance = instance ; } public setTransform ( matrix ) { this . native . setTransform ( matrix . native ) ; } }