IGradientFillSettings

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

public interface IGradientFillSettings extends IFillSettings

Base interface for Gradient fill settings.

Methods

MethodDescription
getAlignWithLayer()Gets or sets a value indicating whether [align with layer].
getAngle()Gets or sets the angle.
getDither()Gets or sets a value indicating whether this IGradientFillSettings is dither.
getGradientMode()Gets gradient mode.
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.
getReverse()Gets or sets a value indicating whether this IGradientFillSettings is reverse.
getScale()Gets or sets the scale.
getVerticalOffset()Gets or sets the vertical offset.
setAlignWithLayer(boolean value)Gets or sets a value indicating whether [align with layer].
setAngle(double value)Gets or sets the angle.
setDither(boolean value)Gets or sets a value indicating whether this IGradientFillSettings is dither.
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.
setReverse(boolean value)Gets or sets a value indicating whether this IGradientFillSettings is reverse.
setScale(int value)Gets or sets the scale.
setVerticalOffset(double value)Gets or sets the vertical offset.

getAlignWithLayer()

public abstract boolean getAlignWithLayer()

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

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

Returns: boolean

getAngle()

public abstract double getAngle()

Gets or sets the angle.

Value: The angle.

Returns: double

getDither()

public abstract boolean getDither()

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

Value: true if dither; otherwise, false .

Returns: boolean

getGradientMode()

public abstract int getGradientMode()

Gets gradient mode. Determines ‘Gradient Type’ = ‘Solid/Noise’ (0/1).

Returns: int

getGradientName()

public abstract String getGradientName()

Gets or sets the name of the gradient.

Value: The name of the gradient.

Returns: java.lang.String

getGradientType()

public abstract int getGradientType()

Gets or sets the type of the gradient.

Value: The type of the gradient.

Returns: int

getHorizontalOffset()

public abstract double getHorizontalOffset()

Gets or sets the horizontal offset.

Value: The horizontal offset.

Returns: double

getReverse()

public abstract boolean getReverse()

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

Value: true if reverse; otherwise, false .

Returns: boolean

getScale()

public abstract int getScale()

Gets or sets the scale.

Value: The scale.

Returns: int

getVerticalOffset()

public abstract double getVerticalOffset()

Gets or sets the vertical offset.

Value: The vertical offset.

Returns: double

setAlignWithLayer(boolean value)

public abstract 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 abstract void setAngle(double value)

Gets or sets the angle.

Value: The angle.

Parameters:

ParameterTypeDescription
valuedouble

setDither(boolean value)

public abstract void setDither(boolean value)

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

Value: true if dither; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setGradientName(String value)

public abstract 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 abstract 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 abstract void setHorizontalOffset(double value)

Gets or sets the horizontal offset.

Value: The horizontal offset.

Parameters:

ParameterTypeDescription
valuedouble

setReverse(boolean value)

public abstract void setReverse(boolean value)

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

Value: true if reverse; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setScale(int value)

public abstract void setScale(int value)

Gets or sets the scale.

Value: The scale.

Parameters:

ParameterTypeDescription
valueint

setVerticalOffset(double value)

public abstract void setVerticalOffset(double value)

Gets or sets the vertical offset.

Value: The vertical offset.

Parameters:

ParameterTypeDescription
valuedouble