Surface.fill

Fills a specific area of the surface with the given color. The second parameter is a pointer to the area. If it's null, the whole Surface is filled.

  1. void fill(Color col, ShortRect* rect)
    struct Surface
    void
    fill
    (
    ref const Color col
    ,
    const ShortRect* rect = null
    )
  2. void fill(Color col, ShortRect* rect)

Meta