GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfShadingType Enum

    Namespace:
    GemBox.Pdf.Content.Patterns
    Assembly:
    GemBox.Pdf.dll

    Represents types of the PdfShadings.

    • C#
    • VB.NET
    public enum PdfShadingType
    Public Enum PdfShadingType

    Fields

    Axial

    The PdfShading is a PdfAxialShading.

    Type 2 (axial) shadings define a color blend that varies along a linear axis between two endpoints and extends indefinitely perpendicular to that axis.

    CoonsPatchMesh

    The PdfShading is a PdfCoonsPatchMeshShading.

    Type 6 shadings (Coons patch meshes) are constructed from one or more color patches, each bounded by four cubic Bézier curves.

    FreeTriangleMesh

    The PdfShading is a PdfFreeTriangleMeshShading.

    Type 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.

    FunctionBased

    The PdfShading is a PdfFunctionBasedShading.

    In Type 1 (function-based) shadings, the color at every point in the domain is defined by a specified mathematical function.

    LatticeTriangleMesh

    The PdfShading is a PdfLatticeTriangleMeshShading.

    Type 5 shadings (lattice-form Gouraud-shaded triangle meshes) are similar to PdfFreeTriangleMeshShading, but instead of using free-form geometry, their vertices are arranged in a pseudorectangular lattice, which is topologically equivalent to a rectangular grid.

    Radial

    The PdfShading is a PdfRadialShading.

    Type 3 (radial) shadings define a color blend that varies between two circles.

    TensorPatchMesh

    The PdfShading is a PdfTensorPatchMeshShading.

    Type 7 shadings (tensor-product patch meshes) are identical to PdfCoonsPatchMeshShading, 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.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.