PdfMeshTriangle Struct
Represents a triangle contained in a PdfFreeTriangleMeshShading or PdfLatticeTriangleMeshShading.
note
PdfMeshTriangle does not contain a public constructor. The only way to access PdfMeshTriangle instances is by enumerating PdfFreeTriangleMeshShading or PdfLatticeTriangleMeshShading.
Properties
SharedEdge
Gets the edge of the previous triangle that is shared with this PdfMeshTriangle.
public readonly PdfMeshSharedEdge SharedEdge { get; }
Public ReadOnly Property SharedEdge As PdfMeshSharedEdge
Property Value
The edge of the previous triangle that is shared with this PdfMeshTriangle.
Vertex0
Gets the first vertex of this PdfMeshTriangle.
public readonly PdfMeshVertex Vertex0 { get; }
Public ReadOnly Property Vertex0 As PdfMeshVertex
Property Value
The first vertex of this PdfMeshTriangle.
Exceptions
- System.ArgumentException
The Function entry is set and the IsColorParametric property of the value is false or the Function entry is not set and the IsColorParametric property of the value is true.
- System.ArgumentException
The Space of the Color of the value is not equal to the shading's ColorSpace.
Vertex1
Gets the second vertex of this PdfMeshTriangle.
public readonly PdfMeshVertex Vertex1 { get; }
Public ReadOnly Property Vertex1 As PdfMeshVertex
Property Value
The second vertex of this PdfMeshTriangle.
Exceptions
- System.ArgumentException
The Function entry is set and the IsColorParametric property of the value is false or the Function entry is not set and the IsColorParametric property of the value is true.
- System.ArgumentException
The Space of the Color of the value is not equal to the shading's ColorSpace.
Vertex2
Gets the third vertex of this PdfMeshTriangle.
public readonly PdfMeshVertex Vertex2 { get; }
Public ReadOnly Property Vertex2 As PdfMeshVertex
Property Value
The third vertex of this PdfMeshTriangle.
Exceptions
- System.ArgumentException
The Function entry is set and the IsColorParametric property of the value is false or the Function entry is not set and the IsColorParametric property of the value is true.
- System.ArgumentException
The Space of the Color of the value is not equal to the shading's ColorSpace.
Methods
ToString()
Returns a System.String that represents this PdfMeshTriangle instance.
Returns
- System.String
A System.String that represents this PdfMeshTriangle instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).