VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.ShadingPatterns Namespace / ShadingPatternType Enumeration
Syntax Members Hierarchy Requirements SeeAlso
In This Topic
    ShadingPatternType Enumeration
    In This Topic
    Specifies available shading pattern types.
    Syntax
    'Declaration
    
    Public Enum ShadingPatternType
       Inherits System.Enum
    
    
    public enum ShadingPatternType : System.Enum
    
    
    __value public enum ShadingPatternType : public System.Enum
    
    
    public enum class ShadingPatternType : public System.Enum
    
    
    Members
    MemberDescription
    UndefinedUndefined pattern.
    FunctionBasedIn type 1 (function-based) shadings, the color at every point in the domain is defined by a specified mathematical function. The function need not be smooth or continuous. This type is the most general of the available shading types and is useful for shadings that cannot be adequately described with any of the other types.
    AxialType 2 (axial) shadings define a color blend that varies along a linear axis between two endpoints and extends indefinitely perpendicular to that axis. The shading may optionally be extended beyond either or both endpoints by continuing the boundary colors indefinitely.
    RadialType 3 (radial) shadings define a color blend that varies between two circles. Shadings of this type are commonly used to depict three-dimensional spheres and cones.
    FreeFormGouraudShadedTriangleMeshType 4 shadings (free-form Gouraud-shaded triangle meshes) are commonly used to represent complex colored and shaded three-dimensional shapes. The area to be shaded is defined by a path composed entirely of triangles. The color at each vertex of the triangles is specified, and a technique known as Gouraud interpolation is used to color the interiors. The interpolation functions defining the shading may be linear or nonlinear.
    LatticeFormGouraudShadedTriangleMeshType 5 shadings (lattice-form Gouraud-shaded triangle meshes) are similar to type 4, but instead of using free-form geometry, their vertices are arranged in a pseudorectangular lattice, which is topologically equivalent to a rectangular grid. The vertices are organized into rows, which need not be geometrically linear.
    CoonsPatchMeshType 6 shadings (Coons patch meshes) are constructed from one or more color patches, each bounded by four cubic Bezier curves. Degenerate Bezier curves are allowed and are useful for certain graphical effects. At least one complete patch must be specified.
    TensorProductPatchMeshType 7 shadings (tensor-product patch meshes) are identical to type 6, except that they are based on a bicubic tensor-product patch defined by 16 control points instead of the 12 control points that define a Coons patch. The shading dictionaries representing the two patch types differ only in the value of the ShadingType entry and in the number of control points specified for each patch in the data stream.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Vintasoft.Imaging.Pdf.Tree.ShadingPatterns.ShadingPatternType

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also