Blur
Inheritance: java.lang.Object, com.aspose.slides.PVIObject, com.aspose.slides.ImageTransformOperation
All Implemented Interfaces: com.aspose.slides.IBlur, com.aspose.slides.IVisualEffect
public final class Blur extends ImageTransformOperation implements IBlur, IVisualEffect
Represents a Blur effect that is applied to the entire shape, including its fill. All color channels, including alpha, are affected.
Methods
Method | Description |
---|---|
getRadius() | Returns or sets blur radius. |
setRadius(double value) | Returns or sets blur radius. |
getGrow() | Determines whether the bounds of the object should be grown as a result of the blurring. |
setGrow(boolean value) | Determines whether the bounds of the object should be grown as a result of the blurring. |
getEffective() | Gets effective Blur effect data with the inheritance applied. |
equals(Object obj) | Determines whether the specified Blur is equal to the current Blur. |
hashCode() | Serves as a hash function for a particular type. |
getRadius()
public final double getRadius()
Returns or sets blur radius. Read/write double.
Returns: double
setRadius(double value)
public final void setRadius(double value)
Returns or sets blur radius. Read/write double.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
getGrow()
public final boolean getGrow()
Determines 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. Read/write boolean.
Returns: boolean
setGrow(boolean value)
public final void setGrow(boolean value)
Determines 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. Read/write boolean.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getEffective()
public final IBlurEffectiveData getEffective()
Gets effective Blur effect data with the inheritance applied.
Returns: IBlurEffectiveData - A IBlurEffectiveData.
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified Blur is equal to the current Blur.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The Blur 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.