Utilities.Media.SwiftBitmap.Fill C# (CSharp) Méthode

Fill() public méthode

Fills the image with the specified color.
public Fill ( Color color ) : SwiftBitmap
color Color The color.
Résultat SwiftBitmap
        public SwiftBitmap Fill(Color color)
        {
            Contract.Requires<NullReferenceException>(Data != null);
            SetPixels(0, 0, (Width * Height).Times(x => color).ToArray());
            return this;
        }