• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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
object
Shading
MeshShading
FreeFormGouraudTriangleMeshShading
Implements
IEquatable<Shading>
Inherited Members
Shading.Type
Shading.ColorSpace
Shading.Equals(object)
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: DRIT.Pdf.Content
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
Type Name Description
ColorSpace colorSpace

Properties

BoundingBox

Gets or sets the bounding box.

Declaration
public PdfRect BoundingBox { get; set; }
Property Value
Type Description
PdfRect

Methods

Equals(Shading?)

Indicates whether this shading equals another.

Declaration
public override bool Equals(Shading? other)
Parameters
Type Name Description
Shading other
Returns
Type Description
bool
Overrides
Shading.Equals(Shading?)

GetHashCode()

Returns a hash code for this shading.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
Shading.GetHashCode()

Operators

operator ==(FreeFormGouraudTriangleMeshShading?, FreeFormGouraudTriangleMeshShading?)

Equality operator.

Declaration
public static bool operator ==(FreeFormGouraudTriangleMeshShading? a, FreeFormGouraudTriangleMeshShading? b)
Parameters
Type Name Description
FreeFormGouraudTriangleMeshShading a
FreeFormGouraudTriangleMeshShading b
Returns
Type Description
bool

operator !=(FreeFormGouraudTriangleMeshShading?, FreeFormGouraudTriangleMeshShading?)

Inequality operator.

Declaration
public static bool operator !=(FreeFormGouraudTriangleMeshShading? a, FreeFormGouraudTriangleMeshShading? b)
Parameters
Type Name Description
FreeFormGouraudTriangleMeshShading a
FreeFormGouraudTriangleMeshShading b
Returns
Type Description
bool

Implements

IEquatable<T>
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX