ImageTransformOperationCollection

ImageTransformOperationCollection class

Represents a collection of effects apllied to an image.

addAlphaBiLevelEffect

NameDescription
addAlphaBiLevelEffect (float)Adds the new Alpha Bi-Level effect to the end of a collection.

Parameters:

NameTypeDescription
thresholdfloatThe threshold value for the alpha bi-level effect.

Returns: AlphaBiLevel


addAlphaCeilingEffect

NameDescription
addAlphaCeilingEffect ()Adds the new Alpha Ceiling effect to the end of a collection.

Returns: AlphaCeiling


addAlphaFloorEffect

NameDescription
addAlphaFloorEffect ()Adds the new Alpha Floor effect to the end of a collection.

Returns: AlphaFloor


addAlphaInverseEffect

NameDescription
addAlphaInverseEffect ()Adds the new Alpha Inverse effect to the end of a collection.

Returns: AlphaInverse


addAlphaModulateEffect

NameDescription
addAlphaModulateEffect ()Adds the new Alpha Modulate effect to the end of a collection.

Returns: AlphaModulate


addAlphaModulateFixedEffect

NameDescription
addAlphaModulateFixedEffect (float)Adds the new Alpha Modulate Fixed effect to the end of a collection.

Parameters:

NameTypeDescription
amountfloatThe percentage amount to scale the alpha.

Returns: AlphaModulateFixed


addAlphaReplaceEffect

NameDescription
addAlphaReplaceEffect (float)Adds the new Alpha Replace effect to the end of a collection.

Parameters:

NameTypeDescription
alphafloatThe new opacity value.

Returns: AlphaReplace


addBiLevelEffect

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

Parameters:

NameTypeDescription
thresholdfloatthe 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: BiLevel


addBlurEffect

NameDescription
addBlurEffect (double, boolean)Adds the new Blur effect to the end of a collection.

Parameters:

NameTypeDescription
radiusdoubleThe radius of blur.
growbooleanSpecifies 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: Blur


addColorChangeEffect

NameDescription
addColorChangeEffect ()Adds the new Color Change effect to the end of a collection.

Returns: ColorChange


addColorReplaceEffect

NameDescription
addColorReplaceEffect ()Adds the new Color Replacement effect to the end of a collection.

Returns: ColorReplace


addDuotoneEffect

NameDescription
addDuotoneEffect ()Adds the new Duotone effect to the end of a collection.

Returns: Duotone


addFillOverlayEffect

NameDescription
addFillOverlayEffect ()Adds the new Fill Overlay effect to the end of a collection.

Returns: FillOverlay


addGrayScaleEffect

NameDescription
addGrayScaleEffect ()Adds the new Gray Scale effect to the end of a collection.

Returns: GrayScale


addHSLEffect

NameDescription
addHSLEffect (float, float, float)Adds the new Hue/Saturation/Luminance effect to the end of a collection.

Parameters:

NameTypeDescription
huefloatThe number of degrees by which the hue is adjusted.
saturationfloatThe percentage by which the saturation is adjusted.
luminancefloatThe percentage by which the luminance is adjusted.

Returns: HSL


addItem

NameDescription
addItem (HSL)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationHSLThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (SoftEdge)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationSoftEdgeThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (ImageTransformOperation)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationImageTransformOperationThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaBiLevel)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaBiLevelThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (InnerShadow)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationInnerShadowThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (ColorChange)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationColorChangeThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaModulate)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaModulateThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (Reflection)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationReflectionThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (Glow)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationGlowThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaModulateFixed)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaModulateFixedThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaFloor)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaFloorThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (GrayScale)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationGrayScaleThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (Duotone)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationDuotoneThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (Luminance)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationLuminanceThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaInverse)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaInverseThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaCeiling)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaCeilingThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (OuterShadow)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationOuterShadowThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (Blur)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationBlurThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (AlphaReplace)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationAlphaReplaceThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (PresetShadow)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationPresetShadowThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (ColorReplace)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationColorReplaceThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (BiLevel)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationBiLevelThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (Tint)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationTintThe image effect to add to the end of a collection.

Returns: void


addItem

NameDescription
addItem (FillOverlay)Adds the new image effect to the end of a collection.

Parameters:

NameTypeDescription
operationFillOverlayThe image effect to add to the end of a collection.

Returns: void


addLuminanceEffect

NameDescription
addLuminanceEffect (float, float)Adds the new Luminance effect to the end of a collection.

Parameters:

NameTypeDescription
brightnessfloatThe percent to change the brightness.
contrastfloatThe percent to change the contrast.

Returns: Luminance


addTintEffect

NameDescription
addTintEffect (float, float)Adds the new Tint effect to the end of a collection.

Parameters:

NameTypeDescription
huefloatThe hue towards which to tint.
amountfloatSpecifies by how much the color value is shifted.

Returns: Tint


clear

NameDescription
clear ()Removes all image effects from a collection.

Returns: void


containsItem

NameDescription
containsItem (HSL)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemHSLThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (SoftEdge)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemSoftEdgeThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (ImageTransformOperation)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemImageTransformOperationThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaBiLevel)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaBiLevelThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (InnerShadow)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemInnerShadowThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (ColorChange)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemColorChangeThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaModulate)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaModulateThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (Reflection)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemReflectionThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (Glow)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemGlowThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaModulateFixed)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaModulateFixedThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaFloor)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaFloorThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (GrayScale)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemGrayScaleThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (Duotone)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemDuotoneThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (Luminance)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemLuminanceThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaInverse)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaInverseThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaCeiling)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaCeilingThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (OuterShadow)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemOuterShadowThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (Blur)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemBlurThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (AlphaReplace)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemAlphaReplaceThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (PresetShadow)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemPresetShadowThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (ColorReplace)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemColorReplaceThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (BiLevel)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemBiLevelThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (Tint)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemTintThe object to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (FillOverlay)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemFillOverlayThe object to locate in the IGenericCollection.

Returns: boolean


copyToTArray

NameDescription
copyToTArray (com.aspose.slides.IImageTransformOperation[], int)Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

Parameters:

NameTypeDescription
arraycom.aspose.slides.IImageTransformOperation[]The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.

Returns: void

Exception

ErrorCondition
ArgumentExceptionThe number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array.

getVersion

NameDescription
getVersion ()

Returns: long


get_Item

NameDescription
get_Item (int)Returns an ImageTransformOperation from the collection by it’s index.

Parameters:

NameTypeDescription
indexintIndex of element.

Returns: HSL, SoftEdge, ImageTransformOperation, AlphaBiLevel, InnerShadow, ColorChange, AlphaModulate, Reflection, Glow, AlphaModulateFixed, AlphaFloor, GrayScale, Duotone, Luminance, AlphaInverse, AlphaCeiling, OuterShadow, Blur, AlphaReplace, PresetShadow, ColorReplace, BiLevel, Tint, FillOverlay


isReadOnly

NameDescription
isReadOnly ()Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


removeAt

NameDescription
removeAt (int)Removes an image effect from a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of an image effect that should be deleted.

Returns: void


removeItem

NameDescription
removeItem (HSL)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemHSLThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (SoftEdge)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemSoftEdgeThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (ImageTransformOperation)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemImageTransformOperationThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaBiLevel)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaBiLevelThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (InnerShadow)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemInnerShadowThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (ColorChange)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemColorChangeThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaModulate)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaModulateThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (Reflection)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemReflectionThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (Glow)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemGlowThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaModulateFixed)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaModulateFixedThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaFloor)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaFloorThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (GrayScale)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemGrayScaleThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (Duotone)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemDuotoneThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (Luminance)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemLuminanceThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaInverse)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaInverseThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaCeiling)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaCeilingThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (OuterShadow)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemOuterShadowThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (Blur)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemBlurThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (AlphaReplace)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemAlphaReplaceThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (PresetShadow)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemPresetShadowThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (ColorReplace)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemColorReplaceThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (BiLevel)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemBiLevelThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (Tint)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemTintThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

removeItem

NameDescription
removeItem (FillOverlay)Removes the first occurrence of a specific object from the IGenericCollection.

Parameters:

NameTypeDescription
itemFillOverlayThe object to remove from the IGenericCollection.

Returns: boolean

Exception

ErrorCondition
NotSupportedExceptionThe IGenericCollection is read-only.

size

NameDescription
size ()Returns the number of image effects in a collection. Read-only int.

Returns: int