Class FunctionBasedShading
A function-based shading (spec §8.7.4.5.1).
Uses a function to map domain coordinates to colors.
Inheritance
FunctionBasedShading
Assembly: DRIT.Pdf.dll
Syntax
public sealed class FunctionBasedShading : Shading, IEquatable<Shading>
Constructors
FunctionBasedShading(ColorSpace)
Initializes a function-based shading.
Declaration
public FunctionBasedShading(ColorSpace colorSpace)
Parameters
Properties
BoundingBox
Gets or sets the bounding box.
Declaration
public PdfRect BoundingBox { get; set; }
Property Value
Methods
Equals(Shading?)
Indicates whether this shading equals another.
Declaration
public override bool Equals(Shading? other)
Parameters
| Type |
Name |
Description |
| Shading |
other |
|
Returns
Overrides
GetHashCode()
Returns a hash code for this shading.
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(FunctionBasedShading?, FunctionBasedShading?)
Declaration
public static bool operator ==(FunctionBasedShading? a, FunctionBasedShading? b)
Parameters
Returns
operator !=(FunctionBasedShading?, FunctionBasedShading?)
Declaration
public static bool operator !=(FunctionBasedShading? a, FunctionBasedShading? b)
Parameters
Returns
Implements