Class EmfPlusSharpenEffect

Class EmfPlusSharpenEffect

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

The SharpenEffect object specifies an increase in the difference in intensity between pixels in an image.

public sealed class EmfPlusSharpenEffect : EmfPlusImageEffectsObjectType
{
    private double _sharpness;
    private double _radius;
    public EmfPlusSharpenEffect()
        : base(EmfPlusMetafileProperties.sharpenEffect)
    {
    }
    public double Sharpness
    {
        get
        {
            return _sharpness;
        }
        set
        {
            _sharpness = value;
        }
    }
    public double Radius
    {
        get
        {
            return _radius;
        }
        set
        {
            _radius = value;
        }
    }
}

Inheritance

object MetaObject EmfPlusObject EmfPlusImageEffectsObjectType EmfPlusSharpenEffect

Inherited Members

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

Constructors

EmfPlusSharpenEffect()

public EmfPlusSharpenEffect()
   {
   }

Properties

Amount

Gets or sets A 32-bit floating-point number that specifies the difference in intensitybetween a given pixel and the surrounding pixels.0 Specifies that sharpening MUST NOT be performed.0 < value ≤ 100As this value increases, the difference in intensity between pixels SHOULDincrease.

public float Amount
   {
      get;
      set;
   }

Property Value

float

Radius

Gets or sets A 32-bit floating-point number that specifies the sharpening radius in pixels,which determines the number of pixels involved in calculating the new value of a given pixel.As this value increases, the number of pixels involved in the calculation increases, and theresulting bitmap SHOULD become sharper.

public float Radius
   {
      get;
      set;
   }

Property Value

float

 English