BaseGradientFillSettings

Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.fillsettings.BaseFillSettings

All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.fillsettings.IGradientFillSettings

public abstract class BaseGradientFillSettings extends BaseFillSettings implements IGradientFillSettings

Base gradient definition class. It contains common properties for both types of gradient (Solid and Noise).

Constructors

ConstructorDescription
BaseGradientFillSettings()Initializes a new instance of the BaseGradientFillSettings class.
BaseGradientFillSettings(GdFlResource resource)Initializes a new instance of the BaseGradientFillSettings class.

Fields

FieldDescription
editBehaviour_internalizedThe edit behaviour.

Methods

MethodDescription
equals(Object arg0)
getAlignWithLayer()Gets or sets a value indicating whether [align with layer].
getAngle()Gets or sets the angle.
getClass()
getColor()Gets or sets the color.
getDither()Gets or sets a value indicating whether this BaseGradientFillSettings is dither.
getFillType()The fill type.
getGradientMode()Mode for this gradient.
getGradientName()Gets or sets the name of the gradient.
getGradientType()Gets or sets the type of the gradient.
getHorizontalOffset()Gets or sets the horizontal offset in percentage.
getReverse()Gets or sets a value indicating whether this BaseGradientFillSettings is reverse.
getScale()Gets or sets the scale.
getVerticalOffset()Gets or sets the vertical offset in percentage.
hashCode()
notify()
notifyAll()
raiseChanged_internalized()Raises the changed.
raiseValueChanged_internalized()Raises the value changed.
setAlignWithLayer(boolean value)Gets or sets a value indicating whether [align with layer].
setAngle(double value)Gets or sets the angle.
setColor(Color value)Gets or sets the color.
setDither(boolean value)Gets or sets a value indicating whether this BaseGradientFillSettings is dither.
setGradientMode_internalized(int value)Mode for this gradient.
setGradientName(String value)Gets or sets the name of the gradient.
setGradientType(int value)Gets or sets the type of the gradient.
setHorizontalOffset(double value)Gets or sets the horizontal offset in percentage.
setReverse(boolean value)Gets or sets a value indicating whether this BaseGradientFillSettings is reverse.
setScale(int value)Gets or sets the scale.
setVerticalOffset(double value)Gets or sets the vertical offset in percentage.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BaseGradientFillSettings()

public BaseGradientFillSettings()

Initializes a new instance of the BaseGradientFillSettings class.

BaseGradientFillSettings(GdFlResource resource)

public BaseGradientFillSettings(GdFlResource resource)

Initializes a new instance of the BaseGradientFillSettings class.

Parameters:

ParameterTypeDescription
resourceGdFlResourceThe resource.

editBehaviour_internalized

public final GradientFillSettingsEditBehaviour editBehaviour_internalized

The edit behaviour.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAlignWithLayer()

public final boolean getAlignWithLayer()

Gets or sets a value indicating whether [align with layer].

Value: true if [align with layer]; otherwise, false .

Returns: boolean

getAngle()

public final double getAngle()

Gets or sets the angle.

Returns: double

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public final Color getColor()

Gets or sets the color.

Value: The color.

Returns: Color

getDither()

public final boolean getDither()

Gets or sets a value indicating whether this BaseGradientFillSettings is dither.

Value: true if dither; otherwise, false .

Returns: boolean

getFillType()

public int getFillType()

The fill type.

Returns: int

getGradientMode()

public final int getGradientMode()

Mode for this gradient. Determines ‘Gradient Type’ = ‘Solid/Noise’ (0/1).

Returns: int

getGradientName()

public final String getGradientName()

Gets or sets the name of the gradient.

Value: The name of the gradient.

Returns: java.lang.String

getGradientType()

public final int getGradientType()

Gets or sets the type of the gradient.

Value: The type of the gradient.

Returns: int

getHorizontalOffset()

public final double getHorizontalOffset()

Gets or sets the horizontal offset in percentage.

Value: The horizontal offset.

Returns: double

getReverse()

public final boolean getReverse()

Gets or sets a value indicating whether this BaseGradientFillSettings is reverse.

Value: true if reverse; otherwise, false .

Returns: boolean

getScale()

public final int getScale()

Gets or sets the scale.

Returns: int

getVerticalOffset()

public final double getVerticalOffset()

Gets or sets the vertical offset in percentage.

Value: The vertical offset.

Returns: double

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

raiseChanged_internalized()

public void raiseChanged_internalized()

Raises the changed.

raiseValueChanged_internalized()

public final void raiseValueChanged_internalized()

Raises the value changed.

setAlignWithLayer(boolean value)

public final void setAlignWithLayer(boolean value)

Gets or sets a value indicating whether [align with layer].

Value: true if [align with layer]; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setAngle(double value)

public final void setAngle(double value)

Gets or sets the angle.

Parameters:

ParameterTypeDescription
valuedouble

setColor(Color value)

public final void setColor(Color value)

Gets or sets the color.

Value: The color.

Parameters:

ParameterTypeDescription
valueColor

setDither(boolean value)

public final void setDither(boolean value)

Gets or sets a value indicating whether this BaseGradientFillSettings is dither.

Value: true if dither; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setGradientMode_internalized(int value)

public final void setGradientMode_internalized(int value)

Mode for this gradient. Determines ‘Gradient Type’ = ‘Solid/Noise’ (0/1).

Parameters:

ParameterTypeDescription
valueint

setGradientName(String value)

public final void setGradientName(String value)

Gets or sets the name of the gradient.

Value: The name of the gradient.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setGradientType(int value)

public final void setGradientType(int value)

Gets or sets the type of the gradient.

Value: The type of the gradient.

Parameters:

ParameterTypeDescription
valueint

setHorizontalOffset(double value)

public final void setHorizontalOffset(double value)

Gets or sets the horizontal offset in percentage.

Value: The horizontal offset.

Parameters:

ParameterTypeDescription
valuedouble

setReverse(boolean value)

public final void setReverse(boolean value)

Gets or sets a value indicating whether this BaseGradientFillSettings is reverse.

Value: true if reverse; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setScale(int value)

public final void setScale(int value)

Gets or sets the scale.

Parameters:

ParameterTypeDescription
valueint

setVerticalOffset(double value)

public final void setVerticalOffset(double value)

Gets or sets the vertical offset in percentage.

Value: The vertical offset.

Parameters:

ParameterTypeDescription
valuedouble

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