Surface.isMask

Returns if the given color match the color of the given mask of the surface.

See: Surface.Mask enum.

  1. bool isMask(Mask mask, Color col)
    struct Surface
    const
    bool
    isMask
    (,
    ref const Color col
    )
  2. bool isMask(Mask mask, Color col)
  3. bool isMask(Mask mask, uint col)

Meta