Image.create

Create the image and fill it with a unique color.

  1. void create(uint width, uint height, Color color)
    class Image
    void
    create
    (
    uint width
    ,
    uint height
    ,)
  2. void create(uint width, uint height, const(ubyte)[] pixels)

Parameters

width uint

Width of the image

height uint

Height of the image

color Color

Fill color

Meta