Methods
-
<static> createCanvasContext(width, height)
-
Parameters:
Name Type Description width
number height
number - Source:
Returns:
- Type
- CanvasRenderingContext2D
-
<static> loadImage(src)
-
画像を読み込みます。
Parameters:
Name Type Description src
string | Blob options.crossOrigin
string - Source:
-
<static> waitForLoad(image)
-
画像が読み込まれるまで待ちます。
Parameters:
Name Type Description image
HTMLImageElement - Source: