Methods

equals(obj) → boolean

Parameter

Name Type Optional Description

obj

Object

 

Returns

boolean 

getBottomCrop()

Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.

getBrightness()

Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works same as Excel 2007 or above version.

getContrast()

Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same as Excel 2007 or above version.

getGamma()

Represents gamma of the picture.

getLeftCrop()

Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.

getRightCrop()

Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.

getTopCrop()

Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.

getTransparency()

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

getTransparentColor()

Gets and sets the transparent color of the picture.

hashCode() → Number

Gets the hash code.

Returns

Number 

isBiLevel()

Indicates whether this picture should be displayed in two-color black and white.

isGray()

Indicates whether this picture SHOULD be displayed in grayscale.

setBiLevel()

Indicates whether this picture should be displayed in two-color black and white.

setBottomCrop()

Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.

setBrightness()

Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works same as Excel 2007 or above version.

setContrast()

Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same as Excel 2007 or above version.

setGamma()

Represents gamma of the picture.

setGray()

Indicates whether this picture SHOULD be displayed in grayscale.

setLeftCrop()

Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.

setRightCrop()

Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.

setTopCrop()

Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.

setTransparency()

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

setTransparentColor()

Gets and sets the transparent color of the picture.