Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / ENGradientMappingMode Enumeration


In This Topic
    ENGradientMappingMode Enumeration
    In This Topic
    Enumerates the supported mapping modes for gradients.
    Syntax
    'Declaration
     
    
    Public Enum ENGradientMappingMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As ENGradientMappingMode
    public enum ENGradientMappingMode : System.Enum 
    Members
    MemberDescription
    StretchThe gradient square is scaled to cover the bounding box of the target geometry. Its aspect ratio is not necessarily preserved.
    ZoomToFillThe gradient square is scaled to cover the bounding box of the target geometry. Its aspect ratio is preserved. If the aspect of the gradient does not match the aspect of the target bounds, some of the gradient will extend beyond the target bounds.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Nevron.Nov.Graphics.ENGradientMappingMode

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also