Class Pattern
A PDF pattern (spec §8.7).
Patterns are used to fill areas with repeating graphics (tiling) or gradients (shading).
This is the base class for TilingPattern and ShadingPattern.
Assembly: DRIT.Pdf.dll
Syntax
public abstract class Pattern : IEquatable<Pattern>
Constructors
Pattern(PatternType)
Initializes a new pattern with the specified type.
Declaration
protected Pattern(PatternType type)
Parameters
Properties
Type
Gets the pattern type (tiling or shading).
Declaration
public PatternType Type { get; }
Property Value
Methods
Equals(Pattern?)
Indicates whether this pattern equals another.
Declaration
public abstract bool Equals(Pattern? other)
Parameters
| Type |
Name |
Description |
| Pattern |
other |
|
Returns
Equals(object?)
Indicates whether this pattern equals another object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Returns a hash code for this pattern.
Declaration
public override abstract int GetHashCode()
Returns
Overrides
Implements