GradientColorPoint
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.IGradientColorPoint
public class GradientColorPoint implements IGradientColorPoint
The Gradient Color Point.
Constructors
| Constructor | Description |
|---|---|
| GradientColorPoint() | Initializes a new instance of the GradientColorPoint class. |
| GradientColorPoint(Color color, int location, int medianPointLocation) | Initializes a new instance of the GradientColorPoint class. |
Methods
| Method | Description |
|---|---|
| create_internalized(GradientColorPointEntity entity) | |
| equals(Object arg0) | |
| getClass() | |
| getColor() | Gets or sets the color. |
| getColorMode() | Mode for the color to follow |
| getLocation() | Gets or sets the point location on gradient. |
| getMedianPointLocation() | Gets or sets the median gradient point location. |
| getRawColor() | Gets or sets the color of the raw. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setColor(Color value) | Gets or sets the color. |
| setColorMode(short value) | Mode for the color to follow |
| setLocation(int value) | Gets or sets the point location on gradient. |
| setMedianPointLocation(int value) | Gets or sets the median gradient point location. |
| setRawColor(RawColor value) | Gets or sets the color of the raw. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
GradientColorPoint()
public GradientColorPoint()
Initializes a new instance of the GradientColorPoint class.
GradientColorPoint(Color color, int location, int medianPointLocation)
public GradientColorPoint(Color color, int location, int medianPointLocation)
Initializes a new instance of the GradientColorPoint class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | Color | Color point on gradient. |
| location | int | The location of the color point on the gradient. |
| medianPointLocation | int | The median gradient point location. |
create_internalized(GradientColorPointEntity entity)
public static GradientColorPoint create_internalized(GradientColorPointEntity entity)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| entity | com.aspose.internal.fileformats.psd.layers.layerresources.lfx2resources.GradientColorPointEntity |
Returns: GradientColorPoint
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
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
getColorMode()
public final short getColorMode()
Mode for the color to follow
Returns: short
getLocation()
public final int getLocation()
Gets or sets the point location on gradient.
Value: The location.
Returns: int
getMedianPointLocation()
public final int getMedianPointLocation()
Gets or sets the median gradient point location.
Value: The median point location.
Returns: int
getRawColor()
public final RawColor getRawColor()
Gets or sets the color of the raw.
Value: The color of the raw.
Returns: RawColor
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setColor(Color value)
public final void setColor(Color value)
Gets or sets the color.
Value: The color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Color |
setColorMode(short value)
public final void setColorMode(short value)
Mode for the color to follow
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
setLocation(int value)
public final void setLocation(int value)
Gets or sets the point location on gradient.
Value: The location.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setMedianPointLocation(int value)
public final void setMedianPointLocation(int value)
Gets or sets the median gradient point location.
Value: The median point location.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setRawColor(RawColor value)
public final void setRawColor(RawColor value)
Gets or sets the color of the raw.
Value: The color of the raw.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | RawColor |
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 |