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
Constructor | Description |
---|---|
GradientFillSettings() | Initializes a new instance of the GradientFillSettings class. |
Fields
Field | Description |
---|---|
PointsCountChanged_internalized | |
editBehaviour_internalized | The edit behaviour. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
resource | GdFlResource |
Returns: GradientFillSettings
create_internalized(GrdmResource resource)
public static GradientFillSettings create_internalized(GrdmResource resource)
Parameters:
Parameter | Type | Description |
---|---|---|
resource | GrdmResource |
Returns: GradientFillSettings
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
point | IGradientColorPoint | The point. |
removeTransparencyPoint(IGradientTransparencyPoint point)
public final void removeTransparencyPoint(IGradientTransparencyPoint point)
Removes the transparency point.
Parameters:
Parameter | Type | Description |
---|---|---|
point | IGradientTransparencyPoint | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAngle(double value)
public final void setAngle(double value)
Gets or sets the angle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setColor(Color value)
public final void setColor(Color value)
Gets or sets the color.
Value: The color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
setColorPoints(IGradientColorPoint[] value)
public final void setColorPoints(IGradientColorPoint[] value)
Gets or sets the color points.
Value: The color points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IGradientColorPoint[] |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setGradientMode(int value)
public final void setGradientMode(int value)
Mode for this gradient. Determines ‘Gradient Type’ = ‘Solid/Noise’ (0/1).
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setGradientName(String value)
public final 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 final 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 final void setHorizontalOffset(double value)
Gets or sets the horizontal offset in percentage.
Value: The horizontal offset.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setInterpolation(short value)
public final void setInterpolation(short value)
Interpolation. Determines Smoothness, when ‘Gradient Type’ = ‘Solid’. Value range: 0-4096.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setScale(int value)
public final void setScale(int value)
Gets or sets the scale.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTransparencyPoints(IGradientTransparencyPoint[] value)
public final void setTransparencyPoints(IGradientTransparencyPoint[] value)
Gets or sets the transparency points.
Value: The transparency points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IGradientTransparencyPoint[] |
setVerticalOffset(double value)
public final void setVerticalOffset(double value)
Gets or sets the vertical offset in percentage.
Value: The vertical offset.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
toString()
public String toString()
Returns: java.lang.String
updateStructures_internalized(DescriptorStructure structure)
public final void updateStructures_internalized(DescriptorStructure structure)
Updates the structures.
Parameters:
Parameter | Type | Description |
---|---|---|
structure | DescriptorStructure | The structure. |
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |