SolidGradient
Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.gradient.BaseGradient
public class SolidGradient extends BaseGradient
Gradient fill effect settings.
Constructors
| Constructor | Description |
|---|---|
| SolidGradient() | Initializes a new instance of the SolidGradient class. |
Methods
SolidGradient()
public SolidGradient()
Initializes a new instance of the SolidGradient class.
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
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
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[]
getGradientMode()
public int getGradientMode()
Gets the 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
getInterpolation()
public final short getInterpolation()
Gets ot sets Interpolation. Determines Smoothness, when ‘Gradient Type’ = ‘Solid’. Value range: 0-4096.
Returns: short
getTransparencyPoints()
public final IGradientTransparencyPoint[] getTransparencyPoints()
Gets or sets the transparency points.
Value: The transparency points.
Returns: com.aspose.psd.fileformats.psd.layers.fillsettings.IGradientTransparencyPoint[]
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
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. |
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[] |
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 |
setInterpolation(short value)
public final void setInterpolation(short value)
Gets ot sets Interpolation. Determines Smoothness, when ‘Gradient Type’ = ‘Solid’. Value range: 0-4096.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
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[] |
toString()
public String toString()
Returns: java.lang.String
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 |