|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ImageTransformOperationCollection
public final class ImageTransformOperationCollection
Represents a collection of effects apllied to an image.
Method Summary | |
---|---|
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 T:System.Collections.Generic.ICollection`1 contains a specific value. |
void |
copyToTArray(IImageTransformOperation[] array,
int arrayIndex)
Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array , starting at a particular T:System.Array index. |
IImageTransformOperation |
get_Item(int index)
Returns an ImageTransformOperation from the collection by it's index. |
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object. |
boolean |
isReadOnly()
Gets a value indicating whether the T: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 T:System.Collections.Generic.ICollection`1 . |
int |
size()
Returns the number of image effects in a collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public 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 boolean isReadOnly()
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1
is read-only.
Read-only boolean
.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
T:System.Collections.Generic.ICollection`1
is read-only; otherwise, false.public IImageTransformOperation get_Item(int index)
Returns an ImageTransformOperation
from the collection by it's index.
get_Item
in interface IImageTransformOperationCollection
index
-
public 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 boolean removeItem(IImageTransformOperation item)
Removes the first occurrence of a specific object from the T:System.Collections.Generic.ICollection`1
.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
item
- The object to remove from the T:System.Collections.Generic.ICollection`1
.
item
was successfully removed from the T:System.Collections.Generic.ICollection`1
; otherwise, false. This method also returns false if item
is not found in the original T:System.Collections.Generic.ICollection`1
.
T:System.NotSupportedException
- The T:System.Collections.Generic.ICollection`1
is read-only.public void clear()
Removes all image effects from a collection.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
public boolean containsItem(IImageTransformOperation item)
Determines whether the T: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 T:System.Collections.Generic.ICollection`1
.
item
is found in the T:System.Collections.Generic.ICollection`1
; otherwise, false.public void copyToTArray(IImageTransformOperation[] array, int arrayIndex)
Copies the elements of the T:System.Collections.Generic.ICollection`1
to an T:System.Array
, starting at a particular T:System.Array
index.
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IImageTransformOperation>
array
- The one-dimensional T:System.Array
that is the destination of the elements copied from T:System.Collections.Generic.ICollection`1
. The T:System.Array
must have zero-based indexing.arrayIndex
- The zero-based index in array
at which copying begins.
T:System.ArgumentNullException
- array
is null.
T:System.ArgumentOutOfRangeException
- arrayIndex
is less than 0.
T:System.ArgumentException
- The number of elements in the source T:System.Collections.Generic.ICollection`1
is greater than the available space from arrayIndex
to the end of the destination array
.public 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 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 IAlphaCeiling addAlphaCeilingEffect()
Adds the new Alpha Ceiling effect to the end of a collection.
addAlphaCeilingEffect
in interface IImageTransformOperationCollection
public IAlphaFloor addAlphaFloorEffect()
Adds the new Alpha Floor effect to the end of a collection.
addAlphaFloorEffect
in interface IImageTransformOperationCollection
public IAlphaInverse addAlphaInverseEffect()
Adds the new Alpha Inverse effect to the end of a collection.
addAlphaInverseEffect
in interface IImageTransformOperationCollection
public IAlphaModulate addAlphaModulateEffect()
Adds the new Alpha Modulate effect to the end of a collection.
addAlphaModulateEffect
in interface IImageTransformOperationCollection
public 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 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 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 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 IColorChange addColorChangeEffect()
Adds the new Color Change effect to the end of a collection.
addColorChangeEffect
in interface IImageTransformOperationCollection
public IColorReplace addColorReplaceEffect()
Adds the new Color Replacement effect to the end of a collection.
addColorReplaceEffect
in interface IImageTransformOperationCollection
public IDuotone addDuotoneEffect()
Adds the new Duotone effect to the end of a collection.
addDuotoneEffect
in interface IImageTransformOperationCollection
public IFillOverlay addFillOverlayEffect()
Adds the new Fill Overlay effect to the end of a collection.
addFillOverlayEffect
in interface IImageTransformOperationCollection
public IGrayScale addGrayScaleEffect()
Adds the new Gray Scale effect to the end of a collection.
addGrayScaleEffect
in interface IImageTransformOperationCollection
public 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 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 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 com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public 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>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |