GradientOverlayEffect

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.layereffects.ILayerEffect, com.aspose.internal.fileformats.psd.layers.layereffects.IInternalLayerEffect

public class GradientOverlayEffect implements ILayerEffect, IInternalLayerEffect

Gradient Layer effect

Methods

MethodDescription
create_internalized(IEffectEntity entity)
equals(Object arg0)
getBlendMode()Gets or sets the blend mode.
getClass()
getEffectBounds(Rectangle layerBounds, int globalAngle)Calculate and gets the bounds of effect pixels based on input layer pixels bounds.
getEffectEntity_internalized()Gets the entity
getEffectType()Gets a type of effect
getOpacity()Gets or sets the opacity.
getSettings()Gets or sets the settings.
hashCode()
isVisible()Gets or sets a value indicating whether this instance is visible.
notify()
notifyAll()
setBlendMode(long value)Gets or sets the blend mode.
setOpacity(byte value)Gets or sets the opacity.
setSettings(GradientFillSettings value)Gets or sets the settings.
setVisible(boolean value)Gets or sets a value indicating whether this instance is visible.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

create_internalized(IEffectEntity entity)

public static GradientOverlayEffect create_internalized(IEffectEntity entity)

Parameters:

ParameterTypeDescription
entitycom.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity

Returns: GradientOverlayEffect

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBlendMode()

public final long getBlendMode()

Gets or sets the blend mode.

Value: The blend mode.

Returns: long

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEffectBounds(Rectangle layerBounds, int globalAngle)

public final Rectangle getEffectBounds(Rectangle layerBounds, int globalAngle)

Calculate and gets the bounds of effect pixels based on input layer pixels bounds.

Parameters:

ParameterTypeDescription
layerBoundsRectangleThe layer pixels bounds.
globalAngleintThe global angle to calculate global light angle.

Returns: Rectangle - The bounds of effect pixels based on input layer pixels bounds.

getEffectEntity_internalized()

public final IEffectEntity getEffectEntity_internalized()

Gets the entity

Returns: com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity

getEffectType()

public final int getEffectType()

Gets a type of effect

Returns: int

getOpacity()

public final byte getOpacity()

Gets or sets the opacity.

Value: The opacity.

Returns: byte

getSettings()

public final GradientFillSettings getSettings()

Gets or sets the settings.

Value: The settings.

Returns: GradientFillSettings

hashCode()

public native int hashCode()

Returns: int

isVisible()

public final boolean isVisible()

Gets or sets a value indicating whether this instance is visible.

Value: true if this instance is visible; otherwise, false .

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBlendMode(long value)

public final void setBlendMode(long value)

Gets or sets the blend mode.

Value: The blend mode.

Parameters:

ParameterTypeDescription
valuelong

setOpacity(byte value)

public final void setOpacity(byte value)

Gets or sets the opacity.

Value: The opacity.

Parameters:

ParameterTypeDescription
valuebyte

setSettings(GradientFillSettings value)

public final void setSettings(GradientFillSettings value)

Gets or sets the settings.

Value: The settings.

Parameters:

ParameterTypeDescription
valueGradientFillSettings

setVisible(boolean value)

public final void setVisible(boolean value)

Gets or sets a value indicating whether this instance is visible.

Value: true if this instance is visible; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int