Map for WinForms | ComponentOne
C1.Win.Map Namespace / GradientStyle Enumeration

In This Topic
    GradientStyle Enumeration
    In This Topic
    Specifies the gradient style of the brush.
    Syntax
    'Declaration
     
    
    Public Enum GradientStyle 
       Inherits System.Enum
    public enum GradientStyle : System.Enum 
    Members
    MemberDescription
    DiagonalFrom left-bottom (first color) to right-top (second color).
    DiagonalBackFrom left-top (first color) to right-bottom (second color).
    DiagonalBackCenterFrom center (first color) to left-top and right-bottom (second color).
    DiagonalCenterFrom center (first color) to left-bottom and right-top (second color).
    FromCenterFrom center (first color) to corners (second color).
    HorizontalFrom left (first color) to right (second color).
    HorizontalCenterFrom center (first color) to left and right (second color).
    NoneNo gradient filling.
    RadialFrom center (first color) to corners (second color) in radial direction.
    VerticalFrom top (first color) to bottom (second color).
    VerticalCenterFrom center (first color) to top and bottom (second color).
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.Map.GradientStyle

    See Also