Class FreeFormGouraudTriangleMeshShading
A free-form Gouraud-shaded triangle mesh shading (spec §8.7.4.5.5).
Each triangle can have arbitrarily colored vertices, with colors interpolated across the triangle.
Inheritance
FreeFormGouraudTriangleMeshShading
Assembly: DRIT.Pdf.dll
Syntax
public sealed class FreeFormGouraudTriangleMeshShading : MeshShading, IEquatable<Shading>
Constructors
FreeFormGouraudTriangleMeshShading(ColorSpace)
Initializes a free-form Gouraud triangle mesh shading.
Declaration
public FreeFormGouraudTriangleMeshShading(ColorSpace colorSpace)
Parameters
Properties
BoundingBox
Gets or sets the bounding box.
Declaration
public PdfRect BoundingBox { get; set; }
Property Value
Methods
Equals(Shading?)
Indicates whether this shading equals another.
Declaration
public override bool Equals(Shading? other)
Parameters
| Type |
Name |
Description |
| Shading |
other |
|
Returns
Overrides
GetHashCode()
Returns a hash code for this shading.
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(FreeFormGouraudTriangleMeshShading?, FreeFormGouraudTriangleMeshShading?)
Declaration
public static bool operator ==(FreeFormGouraudTriangleMeshShading? a, FreeFormGouraudTriangleMeshShading? b)
Parameters
Returns
operator !=(FreeFormGouraudTriangleMeshShading?, FreeFormGouraudTriangleMeshShading?)
Declaration
public static bool operator !=(FreeFormGouraudTriangleMeshShading? a, FreeFormGouraudTriangleMeshShading? b)
Parameters
Returns
Implements