public BitVector2DSurfaceAdapter(ImageSurface surface) { if (surface == null) { throw new ArgumentNullException("surface"); } this.surface = surface; }