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

Class ShadingPattern

A shading pattern (spec §8.7.4.3). A pattern that uses a shading as its tile content.

Inheritance
object
Pattern
ShadingPattern
Implements
IEquatable<Pattern>
Inherited Members
Pattern.Type
Pattern.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 ShadingPattern : Pattern, IEquatable<Pattern>

Constructors

ShadingPattern(Shading)

Initializes a shading pattern.

Declaration
public ShadingPattern(Shading shading)
Parameters
Type Name Description
Shading shading

Properties

Matrix

Gets or sets the matrix that maps pattern space to user space.

Declaration
public PdfMatrix? Matrix { get; set; }
Property Value
Type Description
PdfMatrix

Methods

Equals(Pattern?)

Indicates whether this pattern equals another.

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

GetHashCode()

Returns a hash code for this pattern.

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

Operators

operator ==(ShadingPattern?, ShadingPattern?)

Equality operator.

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

operator !=(ShadingPattern?, ShadingPattern?)

Inequality operator.

Declaration
public static bool operator !=(ShadingPattern? a, ShadingPattern? b)
Parameters
Type Name Description
ShadingPattern a
ShadingPattern 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