public final class ImageTransformOperationCollection extends PVIObject implements IImageTransformOperationCollection
Represents a collection of effects apllied to an image.
| Modifier and Type | Method and Description |
|---|---|
IAlphaBiLevel |
addAlphaBiLevelEffect(float threshold)
Adds the new Alpha Bi-Level effect to the end of a collection.
|
IAlphaCeiling |
addAlphaCeilingEffect()
Adds the new Alpha Ceiling effect to the end of a collection.
|
IAlphaFloor |
addAlphaFloorEffect()
Adds the new Alpha Floor effect to the end of a collection.
|
IAlphaInverse |
addAlphaInverseEffect()
Adds the new Alpha Inverse effect to the end of a collection.
|
IAlphaModulate |
addAlphaModulateEffect()
Adds the new Alpha Modulate effect to the end of a collection.
|
IAlphaModulateFixed |
addAlphaModulateFixedEffect(float amount)
Adds the new Alpha Modulate Fixed effect to the end of a collection.
|
IAlphaReplace |
addAlphaReplaceEffect(float alpha)
Adds the new Alpha Replace effect to the end of a collection.
|
IBiLevel |
addBiLevelEffect(float threshold)
Adds the new Bi-Level (black/white) effect to the end of a collection.
|
IBlur |
addBlurEffect(double radius,
boolean grow)
Adds the new Blur effect to the end of a collection.
|
IBrightnessContrast |
addBrightnessContrastEffect(float brightness,
float contrast)
Adds the new BrightnessContrast effect to the end of a collection.
|
IColorChange |
addColorChangeEffect()
Adds the new Color Change effect to the end of a collection.
|
IColorReplace |
addColorReplaceEffect()
Adds the new Color Replacement effect to the end of a collection.
|
IDuotone |
addDuotoneEffect()
Adds the new Duotone effect to the end of a collection.
|
IFillOverlay |
addFillOverlayEffect()
Adds the new Fill Overlay effect to the end of a collection.
|
IGrayScale |
addGrayScaleEffect()
Adds the new Gray Scale effect to the end of a collection.
|
IHSL |
addHSLEffect(float hue,
float saturation,
float luminance)
Adds the new Hue/Saturation/Luminance effect to the end of a collection.
|
void |
addItem(IImageTransformOperation operation)
Adds the new image effect to the end of a collection.
|
ILuminance |
addLuminanceEffect(float brightness,
float contrast)
Adds the new Luminance effect to the end of a collection.
|
ITint |
addTintEffect(float hue,
float amount)
Adds the new Tint effect to the end of a collection.
|
void |
clear()
Removes all image effects from a collection.
|
boolean |
containsItem(IImageTransformOperation item)
Determines whether the
IGenericCollection contains a specific value. |
void |
copyToTArray(IImageTransformOperation[] array,
int arrayIndex)
|
IImageTransformOperation |
get_Item(int index)
Returns an
ImageTransformOperation from the collection by it's index. |
long |
getVersion()
Version.
|
boolean |
isReadOnly()
Gets a value indicating whether the
IGenericCollection is read-only. |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IImageTransformOperation> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IImageTransformOperation> |
iteratorJava()
Returns a java iterator for the entire collection.
|
void |
removeAt(int index)
Removes an image effect from a collection at the specified index.
|
boolean |
removeItem(IImageTransformOperation item)
Removes the first occurrence of a specific object from the
IGenericCollection. |
int |
size()
Returns the number of image effects in a collection.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, hashCodepublic long getVersion()
Version.
Read-only long.
getVersion in class PVIObjectpublic final IImageTransformOperation get_Item(int index)
Returns an ImageTransformOperation from the collection by it's index.
get_Item in interface IImageTransformOperationCollectionindex - Index of element.IImageTransformOperation object.public final void removeAt(int index)
Removes an image effect from a collection at the specified index.
removeAt in interface IImageTransformOperationCollectionindex - Index of an image effect that should be deleted.public final IAlphaBiLevel addAlphaBiLevelEffect(float threshold)
Adds the new Alpha Bi-Level effect to the end of a collection.
addAlphaBiLevelEffect in interface IImageTransformOperationCollectionthreshold - The threshold value for the alpha bi-level effect.public final IAlphaCeiling addAlphaCeilingEffect()
Adds the new Alpha Ceiling effect to the end of a collection.
addAlphaCeilingEffect in interface IImageTransformOperationCollectionpublic final IAlphaFloor addAlphaFloorEffect()
Adds the new Alpha Floor effect to the end of a collection.
addAlphaFloorEffect in interface IImageTransformOperationCollectionpublic final IAlphaInverse addAlphaInverseEffect()
Adds the new Alpha Inverse effect to the end of a collection.
addAlphaInverseEffect in interface IImageTransformOperationCollectionpublic final IAlphaModulate addAlphaModulateEffect()
Adds the new Alpha Modulate effect to the end of a collection.
addAlphaModulateEffect in interface IImageTransformOperationCollectionpublic final IAlphaModulateFixed addAlphaModulateFixedEffect(float amount)
Adds the new Alpha Modulate Fixed effect to the end of a collection.
addAlphaModulateFixedEffect in interface IImageTransformOperationCollectionamount - The percentage amount to scale the alpha.public final IAlphaReplace addAlphaReplaceEffect(float alpha)
Adds the new Alpha Replace effect to the end of a collection.
addAlphaReplaceEffect in interface IImageTransformOperationCollectionalpha - The new opacity value.public final IBiLevel addBiLevelEffect(float threshold)
Adds the new Bi-Level (black/white) effect to the end of a collection.
addBiLevelEffect in interface IImageTransformOperationCollectionthreshold - 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.public final IBlur addBlurEffect(double radius, boolean grow)
Adds the new Blur effect to the end of a collection.
addBlurEffect in interface IImageTransformOperationCollectionradius - The radius of blur.grow - 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.public final IColorChange addColorChangeEffect()
Adds the new Color Change effect to the end of a collection.
addColorChangeEffect in interface IImageTransformOperationCollectionpublic final IColorReplace addColorReplaceEffect()
Adds the new Color Replacement effect to the end of a collection.
addColorReplaceEffect in interface IImageTransformOperationCollectionpublic final IDuotone addDuotoneEffect()
Adds the new Duotone effect to the end of a collection.
addDuotoneEffect in interface IImageTransformOperationCollectionpublic final IFillOverlay addFillOverlayEffect()
Adds the new Fill Overlay effect to the end of a collection.
addFillOverlayEffect in interface IImageTransformOperationCollectionpublic final IGrayScale addGrayScaleEffect()
Adds the new Gray Scale effect to the end of a collection.
addGrayScaleEffect in interface IImageTransformOperationCollectionpublic final IHSL addHSLEffect(float hue, float saturation, float luminance)
Adds the new Hue/Saturation/Luminance effect to the end of a collection.
addHSLEffect in interface IImageTransformOperationCollectionhue - The number of degrees by which the hue is adjusted.saturation - The percentage by which the saturation is adjusted.luminance - The percentage by which the luminance is adjusted.public final ILuminance addLuminanceEffect(float brightness, float contrast)
Adds the new Luminance effect to the end of a collection.
addLuminanceEffect in interface IImageTransformOperationCollectionbrightness - The percent to change the brightness.contrast - The percent to change the contrast.public final ITint addTintEffect(float hue, float amount)
Adds the new Tint effect to the end of a collection.
addTintEffect in interface IImageTransformOperationCollectionhue - The hue towards which to tint.amount - Specifies by how much the color value is shifted.public final IBrightnessContrast addBrightnessContrastEffect(float brightness, float contrast)
Adds the new BrightnessContrast effect to the end of a collection.
addBrightnessContrastEffect in interface IImageTransformOperationCollectionbrightness - The percent to change the brightness.contrast - The percent to change the contrast.public final int size()
Returns the number of image effects in a collection.
Read-only int.
size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>public final boolean isReadOnly()
Gets a value indicating whether the IGenericCollection is read-only.
Read-only boolean.
isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>IGenericCollection is read-only; otherwise, false.public final void addItem(IImageTransformOperation operation)
Adds the new image effect to the end of a collection.
addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>operation - The image effect to add to the end of a collection.public final void clear()
Removes all image effects from a collection.
clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>public final boolean containsItem(IImageTransformOperation item)
Determines whether the IGenericCollection contains a specific value.
containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>item - The object to locate in the IGenericCollection.IGenericCollection; otherwise, false.public final void copyToTArray(IImageTransformOperation[] array, int arrayIndex)
Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.
copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>array - The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.arrayIndex - The zero-based index in array at which copying begins.com.aspose.ms.System.ArgumentNullException - array is null.com.aspose.ms.System.ArgumentOutOfRangeException - arrayIndex is less than 0.com.aspose.ms.System.ArgumentException - The number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array.public final boolean removeItem(IImageTransformOperation item)
Removes the first occurrence of a specific object from the IGenericCollection.
removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>item - The object to remove from the IGenericCollection.item was successfully removed from the IGenericCollection; otherwise, false. This method also returns false if item is not found in the original IGenericCollection.com.aspose.ms.System.NotSupportedException - The IGenericCollection is read-only.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IImageTransformOperation> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IImageTransformOperation>iterator in interface com.aspose.ms.System.Collections.IEnumerable<IImageTransformOperation>iterator in interface java.lang.Iterable<IImageTransformOperation>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IImageTransformOperation> iteratorJava()
Returns a java iterator for the entire collection.
Iterator for the entire collection.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.