Bitmap.allocate

領域を確保します.

  1. Bitmap allocate(armos.math.Vector2i size, armos.graphics.ColorFormat colorType)
  2. Bitmap allocate(int width, int height, armos.graphics.ColorFormat colorType)
    struct Bitmap(T)
    allocate
    (
    int width
    ,
    int height
    ,
    armos.graphics.ColorFormat colorType
    )

Parameters

width int

Bitmapの横幅です.

height int

Bitmapの縦幅です.

colorType armos.graphics.ColorFormat

Bitmapのカラーフォーマットを指定します.

Meta