createPattern 方法

CanvasPattern? createPattern(
  1. Object image,
  2. String repetitionType
)

实现

CanvasPattern? createPattern(Object image, String repetitionType) native;