File: System\Windows\Media\Generated\GradientSpreadMethod.cs
Web Access
Project: src\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
//
//
// This file was generated, please do not edit it directly.
//
// Please see MilCodeGen.html for more information.
//
 
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using MS.Internal.PresentationCore;
#if PRESENTATION_CORE
using SR=MS.Internal.PresentationCore.SR;
#else
using SR=System.Windows.SR;
#endif
 
namespace System.Windows.Media
{
    /// <summary>
    ///     GradientSpreadMethod - This determines how a gradient fills the space outside its 
    ///     primary area.
    /// </summary>
    public enum GradientSpreadMethod
    {
        /// <summary>
        ///     Pad - Pad - The final color in the gradient is used to fill the remaining area.
        /// </summary>
        Pad = 0,
 
        /// <summary>
        ///     Reflect - Reflect - The gradient is mirrored and repeated, then mirrored again, 
        ///     etc.
        /// </summary>
        Reflect = 1,
 
        /// <summary>
        ///     Repeat - Repeat - The gradient is drawn again and again.
        /// </summary>
        Repeat = 2,
    }   
}