# File lib/rubygame/surface.rb, line 191
  def masks
    fmt = @struct.format
    [fmt.Rmask, fmt.Gmask, fmt.Bmask, fmt.Amask]
  end