GradientFillSettings

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

public class GradientFillSettings extends BaseGradientFillSettings

Gradient fill effect settings.

Constructors

ConstructorDescription
GradientFillSettings()Initializes a new instance of the GradientFillSettings class.

Fields

FieldDescription
PointsCountChanged_internalized
editBehaviour_internalizedThe edit behaviour.

Methods

MethodDescription
addColorPoint()Adds the color point.
addTransparencyPoint()Adds the color point.
create_internalized(GdFlResource resource)
create_internalized(GrdmResource resource)
equals(Object arg0)
generateLfx2ResourceNodes()Generates the LFX2 resource nodes.
getAlignWithLayer()Gets or sets a value indicating whether [align with layer].
getAngle()Gets or sets the angle.
getClass()
getColor()Gets or sets the color.
getColorPoints()Gets or sets the color points.
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.
getInterpolation()Interpolation.
getReverse()Gets or sets a value indicating whether this BaseGradientFillSettings is reverse.
getScale()Gets or sets the scale.
getTransparencyPoints()Gets or sets the transparency points.
getVerticalOffset()Gets or sets the vertical offset in percentage.
hashCode()
notify()
notifyAll()
raiseChanged_internalized()Raises the changed.
raiseValueChanged_internalized()Raises the value changed.
removeColorPoint(IGradientColorPoint point)Removes the color point.
removeTransparencyPoint(IGradientTransparencyPoint point)Removes the transparency point.
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.
setColorPoints(IGradientColorPoint[] value)Gets or sets the color points.
setDither(boolean value)Gets or sets a value indicating whether this BaseGradientFillSettings is dither.
setGradientMode(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.
setInterpolation(short value)Interpolation.
setReverse(boolean value)Gets or sets a value indicating whether this BaseGradientFillSettings is reverse.
setScale(int value)Gets or sets the scale.
setTransparencyPoints(IGradientTransparencyPoint[] value)Gets or sets the transparency points.
setVerticalOffset(double value)Gets or sets the vertical offset in percentage.
toString()
updateStructures_internalized(DescriptorStructure structure)Updates the structures.
wait()
wait(long arg0)
wait(long arg0, int arg1)

GradientFillSettings()

public GradientFillSettings()

Initializes a new instance of the GradientFillSettings class.

PointsCountChanged_internalized

public final Event<System.EventHandler> PointsCountChanged_internalized

editBehaviour_internalized

public final GradientFillSettingsEditBehaviour editBehaviour_internalized

The edit behaviour.

addColorPoint()

public final GradientColorPoint addColorPoint()

Adds the color point.

Returns: GradientColorPoint - Created color point

addTransparencyPoint()

public final GradientTransparencyPoint addTransparencyPoint()

Adds the color point.

Returns: GradientTransparencyPoint - Created transparency point

create_internalized(GdFlResource resource)

public static GradientFillSettings create_internalized(GdFlResource resource)

Parameters:

ParameterTypeDescription
resourceGdFlResource

Returns: GradientFillSettings

create_internalized(GrdmResource resource)

public static GradientFillSettings create_internalized(GrdmResource resource)

Parameters:

ParameterTypeDescription
resourceGrdmResource

Returns: GradientFillSettings

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

generateLfx2ResourceNodes()

public static System.Collections.Generic.List<OSTypeStructure> generateLfx2ResourceNodes()

Generates the LFX2 resource nodes.

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> - Generated List of OSTypeStructure

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

getColorPoints()

public final IGradientColorPoint[] getColorPoints()

Gets or sets the color points.

Value: The color points.

Returns: com.aspose.psd.fileformats.psd.layers.IGradientColorPoint[]

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

getInterpolation()

public final short getInterpolation()

Interpolation. Determines Smoothness, when ‘Gradient Type’ = ‘Solid’. Value range: 0-4096.

Returns: short

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

getTransparencyPoints()

public final IGradientTransparencyPoint[] getTransparencyPoints()

Gets or sets the transparency points.

Value: The transparency points.

Returns: com.aspose.psd.fileformats.psd.layers.fillsettings.IGradientTransparencyPoint[]

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.

removeColorPoint(IGradientColorPoint point)

public final void removeColorPoint(IGradientColorPoint point)

Removes the color point.

Parameters:

ParameterTypeDescription
pointIGradientColorPointThe point.

removeTransparencyPoint(IGradientTransparencyPoint point)

public final void removeTransparencyPoint(IGradientTransparencyPoint point)

Removes the transparency point.

Parameters:

ParameterTypeDescription
pointIGradientTransparencyPointThe point.

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

setColorPoints(IGradientColorPoint[] value)

public final void setColorPoints(IGradientColorPoint[] value)

Gets or sets the color points.

Value: The color points.

Parameters:

ParameterTypeDescription
valueIGradientColorPoint[]

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(int value)

public final void setGradientMode(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

setInterpolation(short value)

public final void setInterpolation(short value)

Interpolation. Determines Smoothness, when ‘Gradient Type’ = ‘Solid’. Value range: 0-4096.

Parameters:

ParameterTypeDescription
valueshort

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

setTransparencyPoints(IGradientTransparencyPoint[] value)

public final void setTransparencyPoints(IGradientTransparencyPoint[] value)

Gets or sets the transparency points.

Value: The transparency points.

Parameters:

ParameterTypeDescription
valueIGradientTransparencyPoint[]

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

updateStructures_internalized(DescriptorStructure structure)

public final void updateStructures_internalized(DescriptorStructure structure)

Updates the structures.

Parameters:

ParameterTypeDescription
structureDescriptorStructureThe structure.

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