IImageTransformOperationCollection

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection

public interface IImageTransformOperationCollection extends System.Collections.Generic.IGenericCollection<IImageTransformOperation>

Represents a collection of effects apllied to an image.

Methods

Method Description
get_Item(int index) Returns an IImageTransformOperation from the collection by it’s index.
removeAt(int index) Removes an image effect from a collection at the specified index.
addAlphaBiLevelEffect(float threshold) Adds the new Alpha Bi-Level effect to the end of a collection.
addAlphaCeilingEffect() Adds the new Alpha Ceiling effect to the end of a collection.
addAlphaFloorEffect() Adds the new Alpha Floor effect to the end of a collection.
addAlphaInverseEffect() Adds the new Alpha Inverse effect to the end of a collection.
addAlphaModulateEffect() Adds the new Alpha Modulate effect to the end of a collection.
addAlphaModulateFixedEffect(float amount) Adds the new Alpha Modulate Fixed effect to the end of a collection.
addAlphaReplaceEffect(float alpha) Adds the new Alpha Replace effect to the end of a collection.
addBiLevelEffect(float threshold) Adds the new Bi-Level (black/white) effect to the end of a collection.
addBlurEffect(double radius, boolean grow) Adds the new Blur effect to the end of a collection.
addColorChangeEffect() Adds the new Color Change effect to the end of a collection.
addColorReplaceEffect() Adds the new Color Replacement effect to the end of a collection.
addDuotoneEffect() Adds the new Duotone effect to the end of a collection.
addFillOverlayEffect() Adds the new Fill Overlay effect to the end of a collection.
addGrayScaleEffect() Adds the new Gray Scale effect to the end of a collection.
addHSLEffect(float hue, float saturation, float luminance) Adds the new Hue/Saturation/Luminance effect to the end of a collection.
addLuminanceEffect(float brightness, float contrast) Adds the new Luminance effect to the end of a collection.
addTintEffect(float hue, float amount) Adds the new Tint effect to the end of a collection.

get_Item(int index)

public abstract IImageTransformOperation get_Item(int index)

Returns an IImageTransformOperation from the collection by it’s index.

Parameters:

Parameter Type Description
index int Index of item.

Returns: IImageTransformOperation - The IImageTransformOperation object.

removeAt(int index)

public abstract void removeAt(int index)

Removes an image effect from a collection at the specified index.

Parameters:

Parameter Type Description
index int Index of an image effect that should be deleted.

addAlphaBiLevelEffect(float threshold)

public abstract IAlphaBiLevel addAlphaBiLevelEffect(float threshold)

Adds the new Alpha Bi-Level effect to the end of a collection.

Parameters:

Parameter Type Description
threshold float The threshold value for the alpha bi-level effect.

Returns: IAlphaBiLevel - Index of the new image effect in a collection.

addAlphaCeilingEffect()

public abstract IAlphaCeiling addAlphaCeilingEffect()

Adds the new Alpha Ceiling effect to the end of a collection.

Returns: IAlphaCeiling - Index of the new image effect in a collection.

addAlphaFloorEffect()

public abstract IAlphaFloor addAlphaFloorEffect()

Adds the new Alpha Floor effect to the end of a collection.

Returns: IAlphaFloor - Index of the new image effect in a collection.

addAlphaInverseEffect()

public abstract IAlphaInverse addAlphaInverseEffect()

Adds the new Alpha Inverse effect to the end of a collection.

Returns: IAlphaInverse - Index of the new image effect in a collection.

addAlphaModulateEffect()

public abstract IAlphaModulate addAlphaModulateEffect()

Adds the new Alpha Modulate effect to the end of a collection.

Returns: IAlphaModulate - Index of the new image effect in a collection.

addAlphaModulateFixedEffect(float amount)

public abstract IAlphaModulateFixed addAlphaModulateFixedEffect(float amount)

Adds the new Alpha Modulate Fixed effect to the end of a collection.

Parameters:

Parameter Type Description
amount float The percentage amount to scale the alpha.

Returns: IAlphaModulateFixed - Index of the new image effect in a collection.

addAlphaReplaceEffect(float alpha)

public abstract IAlphaReplace addAlphaReplaceEffect(float alpha)

Adds the new Alpha Replace effect to the end of a collection.

Parameters:

Parameter Type Description
alpha float The new opacity value.

Returns: IAlphaReplace - Index of the new image effect in a collection.

addBiLevelEffect(float threshold)

public abstract IBiLevel addBiLevelEffect(float threshold)

Adds the new Bi-Level (black/white) effect to the end of a collection.

Parameters:

Parameter Type Description
threshold float the luminance threshold for the Bi-Level effect. Values greater than or equal to the threshold are set to white. Values lesser than the threshold are set to black.

Returns: IBiLevel - Index of the new image effect in a collection.

addBlurEffect(double radius, boolean grow)

public abstract IBlur addBlurEffect(double radius, boolean grow)

Adds the new Blur effect to the end of a collection.

Parameters:

Parameter Type Description
radius double The radius of blur.
grow boolean Specifies whether the bounds of the object should be grown as a result of the blurring. True indicates the bounds are grown while false indicates that they are not.

Returns: IBlur - Index of the new image effect in a collection.

addColorChangeEffect()

public abstract IColorChange addColorChangeEffect()

Adds the new Color Change effect to the end of a collection.

Returns: IColorChange - Index of the new image effect in a collection.

addColorReplaceEffect()

public abstract IColorReplace addColorReplaceEffect()

Adds the new Color Replacement effect to the end of a collection.

Returns: IColorReplace - Index of the new image effect in a collection.

addDuotoneEffect()

public abstract IDuotone addDuotoneEffect()

Adds the new Duotone effect to the end of a collection.

Returns: IDuotone - Index of the new image effect in a collection.

addFillOverlayEffect()

public abstract IFillOverlay addFillOverlayEffect()

Adds the new Fill Overlay effect to the end of a collection.

Returns: IFillOverlay - Index of the new image effect in a collection.

addGrayScaleEffect()

public abstract IGrayScale addGrayScaleEffect()

Adds the new Gray Scale effect to the end of a collection.

Returns: IGrayScale - Index of the new image effect in a collection.

addHSLEffect(float hue, float saturation, float luminance)

public abstract IHSL addHSLEffect(float hue, float saturation, float luminance)

Adds the new Hue/Saturation/Luminance effect to the end of a collection.

Parameters:

Parameter Type Description
hue float The number of degrees by which the hue is adjusted.
saturation float The percentage by which the saturation is adjusted.
luminance float The percentage by which the luminance is adjusted.

Returns: IHSL - Index of the new image effect in a collection.

addLuminanceEffect(float brightness, float contrast)

public abstract ILuminance addLuminanceEffect(float brightness, float contrast)

Adds the new Luminance effect to the end of a collection.

Parameters:

Parameter Type Description
brightness float The percent to change the brightness.
contrast float The percent to change the contrast.

Returns: ILuminance - Index of the new image effect in a collection.

addTintEffect(float hue, float amount)

public abstract ITint addTintEffect(float hue, float amount)

Adds the new Tint effect to the end of a collection.

Parameters:

Parameter Type Description
hue float The hue towards which to tint.
amount float Specifies by how much the color value is shifted.

Returns: ITint - Index of the new image effect in a collection.