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

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.

Inheritance
object
Pattern
ShadingPattern
TilingPattern
Implements
IEquatable<Pattern>
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Pdf.Content
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
Type Name Description
PatternType type

Properties

Type

Gets the pattern type (tiling or shading).

Declaration
public PatternType Type { get; }
Property Value
Type Description
PatternType

Methods

Equals(Pattern?)

Indicates whether this pattern equals another.

Declaration
public abstract bool Equals(Pattern? other)
Parameters
Type Name Description
Pattern other
Returns
Type Description
bool

Equals(object?)

Indicates whether this pattern equals another object.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Returns a hash code for this pattern.

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

Implements

IEquatable<T>
Back to top

DR-IT Software documentation

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

Generated by DocFX