IGradientFillSettings
All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.fillsettings.IFillSettings
public interface IGradientFillSettings extends IFillSettings
Base interface for Gradient fill settings.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAngle(double value)
public abstract void setAngle(double value)
Gets or sets the angle.
Value: The angle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setGradientName(String value)
public abstract void setGradientName(String value)
Gets or sets the name of the gradient.
Value: The name of the gradient.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | int |
setHorizontalOffset(double value)
public abstract void setHorizontalOffset(double value)
Gets or sets the horizontal offset.
Value: The horizontal offset.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setScale(int value)
public abstract void setScale(int value)
Gets or sets the scale.
Value: The scale.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setVerticalOffset(double value)
public abstract void setVerticalOffset(double value)
Gets or sets the vertical offset.
Value: The vertical offset.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |