AlphaModulateFixed

Inheritance: java.lang.Object, com.aspose.slides.PVIObject, com.aspose.slides.ImageTransformOperation

All Implemented Interfaces: com.aspose.slides.IAlphaModulateFixed, com.aspose.slides.IVisualEffect

public final class AlphaModulateFixed extends ImageTransformOperation implements IAlphaModulateFixed, IVisualEffect

Represents an Alpha Modulate Fixed effect. Effect alpha (opacity) values are multiplied by a fixed percentage.

Methods

MethodDescription
getAmount()Returns an amount of effect in percents.
setAmount(float value)Returns an amount of effect in percents.
getEffective()Gets effective Alpha Modulate Fixed effect data with the inheritance applied.
equals(Object obj)Determines whether the specified AlphaModulateFixed is equal to the current AlphaModulateFixed.
hashCode()Serves as a hash function for a particular type.

getAmount()

public final float getAmount()

Returns an amount of effect in percents. Read/write float.

Returns: float

setAmount(float value)

public final void setAmount(float value)

Returns an amount of effect in percents. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getEffective()

public final IAlphaModulateFixedEffectiveData getEffective()

Gets effective Alpha Modulate Fixed effect data with the inheritance applied.

Returns: IAlphaModulateFixedEffectiveData - A IAlphaModulateFixedEffectiveData.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified AlphaModulateFixed is equal to the current AlphaModulateFixed.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe AlphaModulateFixed to compare.

Returns: boolean - true if objects are equal; otherwise, false.

hashCode()

public int hashCode()

Serves as a hash function for a particular type.

Returns: int - A hash code for the current object.