CdrGradient
Inheritance: java.lang.Object
public class CdrGradient
The cdr gradient
Constructors
| Constructor | Description |
|---|---|
| CdrGradient() | Initializes a new instance of the CdrGradient class. |
Methods
| Method | Description |
|---|---|
| getType() | Gets the type. |
| setType(int value) | Sets the type. |
| getMode() | Gets the mode. |
| setMode(int value) | Sets the mode. |
| getAngle() | Gets the angle. |
| setAngle(double value) | Sets the angle. |
| getMidPoint() | Gets the midpoint. |
| setMidPoint(double value) | Sets the midpoint. |
| getEdgeOffset() | Gets the edge offset. |
| setEdgeOffset(int value) | Sets the edge offset. |
| getCenterXOffset() | Gets the center x offset. |
| setCenterXOffset(int value) | Sets the center x offset. |
| getCenterYOffset() | Gets the center y offset. |
| setCenterYOffset(int value) | Sets the center y offset. |
| getStops() | Gets the stops. |
| setStops(List | Sets the stops. |
CdrGradient()
public CdrGradient()
Initializes a new instance of the CdrGradient class.
getType()
public final int getType()
Gets the type.
Returns: int - the type.
setType(int value)
public final void setType(int value)
Sets the type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | the type. |
getMode()
public final int getMode()
Gets the mode.
Returns: int - the mode.
setMode(int value)
public final void setMode(int value)
Sets the mode.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | the mode. |
getAngle()
public final double getAngle()
Gets the angle.
Returns: double - the angle.
setAngle(double value)
public final void setAngle(double value)
Sets the angle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | the angle. |
getMidPoint()
public final double getMidPoint()
Gets the midpoint.
Returns: double - the midpoint.
setMidPoint(double value)
public final void setMidPoint(double value)
Sets the midpoint.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | the midpoint. |
getEdgeOffset()
public final int getEdgeOffset()
Gets the edge offset.
Returns: int - the edge offset.
setEdgeOffset(int value)
public final void setEdgeOffset(int value)
Sets the edge offset.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | the edge offset. |
getCenterXOffset()
public final int getCenterXOffset()
Gets the center x offset.
Returns: int - the center x offset.
setCenterXOffset(int value)
public final void setCenterXOffset(int value)
Sets the center x offset.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | the center x offset. |
getCenterYOffset()
public final int getCenterYOffset()
Gets the center y offset.
Returns: int - the center y offset.
setCenterYOffset(int value)
public final void setCenterYOffset(int value)
Sets the center y offset.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | the center y offset. |
getStops()
public final List<CdrGradientStop> getStops()
Gets the stops.
Returns: java.util.List<com.aspose.imaging.fileformats.cdr.types.CdrGradientStop> - the stops.
setStops(List value)
public final void setStops(List<CdrGradientStop> value)
Sets the stops.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<com.aspose.imaging.fileformats.cdr.types.CdrGradientStop> | the stops. |