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.
|
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
System.Collections.Generic.ICollection`1 contains a specific value. |
void |
copyToTArray(IImageTransformOperation[] array,
int arrayIndex)
Copies the elements of the
System.Collections.Generic.ICollection`1 to an Array , starting at a particular Array index. |
IImageTransformOperation |
get_Item(int index)
Returns an
ImageTransformOperation from the collection by it's index. |
boolean |
isReadOnly()
Gets a value indicating whether the
System.Collections.Generic.ICollection`1 is read-only. |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IImageTransformOperation> |
iterator()
Returns an enumerator that iterates through the 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
System.Collections.Generic.ICollection`1 . |
int |
size()
Returns the number of image effects in a collection.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, getVersion, hashCode, reset_Parent_IPresentationComponent
public final IImageTransformOperation get_Item(int index)
Returns an ImageTransformOperation
from the collection by it's index.
get_Item
in interface IImageTransformOperationCollection
index
- 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 IImageTransformOperationCollection
index
- 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 IImageTransformOperationCollection
threshold
- 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 IImageTransformOperationCollection
public final IAlphaFloor addAlphaFloorEffect()
Adds the new Alpha Floor effect to the end of a collection.
addAlphaFloorEffect
in interface IImageTransformOperationCollection
public final IAlphaInverse addAlphaInverseEffect()
Adds the new Alpha Inverse effect to the end of a collection.
addAlphaInverseEffect
in interface IImageTransformOperationCollection
public final IAlphaModulate addAlphaModulateEffect()
Adds the new Alpha Modulate effect to the end of a collection.
addAlphaModulateEffect
in interface IImageTransformOperationCollection
public final IAlphaModulateFixed addAlphaModulateFixedEffect(float amount)
Adds the new Alpha Modulate Fixed effect to the end of a collection.
addAlphaModulateFixedEffect
in interface IImageTransformOperationCollection
amount
- 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 IImageTransformOperationCollection
alpha
- 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 IImageTransformOperationCollection
threshold
- 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 IImageTransformOperationCollection
radius
- 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 IImageTransformOperationCollection
public final IColorReplace addColorReplaceEffect()
Adds the new Color Replacement effect to the end of a collection.
addColorReplaceEffect
in interface IImageTransformOperationCollection
public final IDuotone addDuotoneEffect()
Adds the new Duotone effect to the end of a collection.
addDuotoneEffect
in interface IImageTransformOperationCollection
public final IFillOverlay addFillOverlayEffect()
Adds the new Fill Overlay effect to the end of a collection.
addFillOverlayEffect
in interface IImageTransformOperationCollection
public final IGrayScale addGrayScaleEffect()
Adds the new Gray Scale effect to the end of a collection.
addGrayScaleEffect
in interface IImageTransformOperationCollection
public 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 IImageTransformOperationCollection
hue
- 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 IImageTransformOperationCollection
brightness
- 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 IImageTransformOperationCollection
hue
- The hue towards which to tint.amount
- Specifies by how much the color value is shifted.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 System.Collections.Generic.ICollection`1
is read-only.
Read-only boolean
.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
System.Collections.Generic.ICollection`1
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 System.Collections.Generic.ICollection`1
contains a specific value.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
item
- The object to locate in the System.Collections.Generic.ICollection`1
.item
is found in the System.Collections.Generic.ICollection`1
; otherwise, false.public final void copyToTArray(IImageTransformOperation[] array, int arrayIndex)
Copies the elements of the System.Collections.Generic.ICollection`1
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 System.Collections.Generic.ICollection`1
. 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 System.Collections.Generic.ICollection`1
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 System.Collections.Generic.ICollection`1
.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
item
- The object to remove from the System.Collections.Generic.ICollection`1
.item
was successfully removed from the System.Collections.Generic.ICollection`1
; otherwise, false. This method also returns false if item
is not found in the original System.Collections.Generic.ICollection`1
.com.aspose.ms.System.NotSupportedException
- The System.Collections.Generic.ICollection`1
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>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.