DXPathGradientBrush Class
A path gradient brush.
Declaration
public class DXPathGradientBrush extends DXTilingBrush
Inherited Members
Inheritance
Constructors
DXPathGradientBrush(DXGraphicsPathData pathData) Constructor
Initializes a new instance of the DXPathGradientBrush class with specified settings.
Declaration
public DXPathGradientBrush(DXGraphicsPathData pathData)
Parameters
| Name | Type | Description |
|---|---|---|
| pathData | DXGraphicsPathData | The gradient path data. |
DXPathGradientBrush(DXPathGradientBrush brush) Constructor
Initializes a new instance of the DXPathGradientBrush class with specified settings.
Declaration
public DXPathGradientBrush(DXPathGradientBrush brush)
Parameters
| Name | Type | Description |
|---|---|---|
| brush | DXPathGradientBrush |
The path gradient brush to copy. |
Methods
clone() Method
Creates a copy of this DXPathGradientBrush.
Declaration
public DXBrush clone()
Returns
| Type | Description |
|---|---|
| DXBrush | A copy of this |
equals(Object obj) Method
Checks whether this DXPathGradientBrush equals the specified object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with this |
Returns
| Type | Description |
|---|---|
| boolean |
|
getBlend() Method
Returns the blend settings.
Declaration
public DXBlend getBlend()
Returns
| Type | Description |
|---|---|
| DXBlend | The blend settings. |
getCenterColor() Method
Returns the center color.
Declaration
public Color getCenterColor()
Returns
| Type | Description |
|---|---|
| Color | The center color. |
getCenterPoint() Method
Returns the center point.
Declaration
public @Nullable PointF getCenterPoint()
Returns
| Type | Description |
|---|---|
| com.devexpress.system.drawing.PointF | The center point. |
getFocusScales() Method
Returns the focus scales.
Declaration
public PointF getFocusScales()
Returns
| Type | Description |
|---|---|
| com.devexpress.system.drawing.PointF | The focus scales. |
getInterpolationColors() Method
Returns interpolation colors.
Declaration
public DXColorBlend getInterpolationColors()
Returns
| Type | Description |
|---|---|
| DXColorBlend | Interpolation colors. |
getPathData() Method
Returns the path data.
Declaration
public DXGraphicsPathData getPathData()
Returns
| Type | Description |
|---|---|
| DXGraphicsPathData | The path data. |
getSurroundColors() Method
Returns the surround colors.
Declaration
public Color[] getSurroundColors()
Returns
| Type | Description |
|---|---|
| com.devexpress.system.drawing.Color[] | The surround colors. |
hashCode() Method
Returns a hash code value for this object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |
setBlend(DXBlend value) Method
Specifies the blend settings.
Declaration
public void setBlend(DXBlend value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | DXBlend | The blend settings. |
setCenterColor(Color value) Method
Specifies the center color.
Declaration
public void setCenterColor(Color value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | Color | The center color. |
setCenterPoint(@Nullable PointF value) Method
Specifies the center point.
Declaration
public void setCenterPoint(@Nullable PointF value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | com.devexpress.system.drawing.PointF | The center point. |
setFocusScales(PointF value) Method
Specifies the focus scales.
Declaration
public void setFocusScales(PointF value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | com.devexpress.system.drawing.PointF | The focus scales. |
setInterpolationColors(DXColorBlend value) Method
Specifies interpolation colors.
Declaration
public void setInterpolationColors(DXColorBlend value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | DXColorBlend | Interpolation colors. |
setSurroundColors(Color[] value) Method
Specifies the surround colors.
Declaration
public void setSurroundColors(Color[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | com.devexpress.system.drawing.Color[] | The surround colors. |