# Method Image.Image()->clear()

Method clear

  ```void`` clear()`
  ```void`` clear(`int` `r`, `int` `g`, `int` `b`)`
  ```void`` clear(`int` `r`, `int` `g`, `int` `b`, `int` `alpha`)`

Description

  gives a new, cleared image with the same size of drawing area

  original | ->clear (0,128,255)

Parameter `r`
Parameter `g`
Parameter `b`

  color of the new image

Parameter `alpha`

  new default alpha channel value

See also

  copy, clone