Class EmfPlusTintEffect

Class EmfPlusTintEffect

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.7.0)

The TintEffect object specifies an addition of black or white to a specified hue in an image.

public sealed class EmfPlusTintEffect : EmfPlusImageEffectsObjectType
   {
       private double _r;
       private double _g;
       private double _b;
       public double R
       {
           get => this._r;
           set => this._r = value;
       }
       public double G
       {
           get => this._g;
           set => this._g = value;
       }
       public double B
       {
           get => this._b;
           set => this._b = value;
       }
   }

Inheritance

object MetaObject EmfPlusObject EmfPlusImageEffectsObjectType EmfPlusTintEffect

Inherited Members

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfPlusTintEffect()

public EmfPlusTintEffect()
   {
   }

Properties

Amount

Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.-100 ≤ value < 0Negative values specify how much the hue is weakened, which equates to theaddition of black.0 A value of 0 specifies that the tint MUST NOT change.0 < value ≤ 100Positive values specify how much the hue is strengthened, which equates to theaddition of white.

public int Amount
   {
      get;
      set;
   }

Property Value

int

Hue

Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.-180 ≤ value < 0The color at a specified counter-clockwise rotation of the color wheel, startingfrom blue.0 A value of 0 specifies the color blue on the color wheel.0 < value ≤ 180The color at a specified clockwise rotation of the color wheel, starting from blue

public int Hue
   {
      get;
      set;
   }

Property Value

int

 English