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
    ()
  2. void create(uint width, uint height, const(ubyte)[] pixels)

Parameters

width
Type: uint

Width of the image

height
Type: uint

Height of the image

color
Type: Color

Fill color

Meta