com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Image
public class Image 
extends java.lang.Object

Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap.

Property Getters/Setters Summary
DoubleValuegetBlur()
Blurs or softens a bitmap image. The Blur element contains a value between 0 and 1; the default value is 0.
DoubleValuegetBrightness()
Adjusts the brightness of a bitmap image. The Brightness element contains a value between 0 and 1; the default value is 0.5.
DoubleValuegetContrast()
Specifies the contrast of a bitmap image. The Contrast element contains a value between 0 and 1.
intgetDel()
void
setDel(intvalue)
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
DoubleValuegetDenoise()
Removes noise (pixels that have randomly distributed color levels) from a bitmap image.
DoubleValuegetGamma()
Adjusts or corrects the intensity of an image for a particular output device, such as a monitor or scanner. The default value is 1 (no correction.
DoubleValuegetSharpen()
Specifies the amount to sharpen a bitmap image. Sharpening an image focuses it by increasing the contrast of adjacent pixels.
DoubleValuegetTransparency()
Specifies the transparency level for a layer color, from 0 (opaque) to 1 (completely transparent).
 

    • Property Getters/Setters Detail

      • getDel/setDel

        public int getDel() / public void setDel(int value)
        
        A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
      • getGamma

        public DoubleValue getGamma()
        
        Adjusts or corrects the intensity of an image for a particular output device, such as a monitor or scanner. The default value is 1 (no correction.
      • getContrast

        public DoubleValue getContrast()
        
        Specifies the contrast of a bitmap image. The Contrast element contains a value between 0 and 1.
      • getBrightness

        public DoubleValue getBrightness()
        
        Adjusts the brightness of a bitmap image. The Brightness element contains a value between 0 and 1; the default value is 0.5.
      • getSharpen

        public DoubleValue getSharpen()
        
        Specifies the amount to sharpen a bitmap image. Sharpening an image focuses it by increasing the contrast of adjacent pixels.
      • getBlur

        public DoubleValue getBlur()
        
        Blurs or softens a bitmap image. The Blur element contains a value between 0 and 1; the default value is 0.
      • getDenoise

        public DoubleValue getDenoise()
        
        Removes noise (pixels that have randomly distributed color levels) from a bitmap image.
      • getTransparency

        public DoubleValue getTransparency()
        
        Specifies the transparency level for a layer color, from 0 (opaque) to 1 (completely transparent).