Represents a gradient brush which paints the interior of objects starting with one color and gradually changing to another color by interpolating the RGB values of the two colors.
The following tables list the members exposed by the GradientBrush type.
Name | Description | |
---|---|---|
![]() |
Overloaded. Initializes a new instance of the GradientBrush class. |
Name | Description | |
---|---|---|
![]() |
Creates a clone of the brush. |
|
![]() |
Disposes the graphics resources associated with the brush, if any. (Inherited from Brush.) |
|
![]() |
Gets the gradient orientation angle. |
|
![]() |
Gets the first gradient color. |
|
![]() |
Gets the second gradient color. |
|
![]() |
Gets a ColorBlend that defines a multicolor linear gradient. A ColorBlend contains corresponding arrays of colors and positions. The positions are values from 0 through 1 that specify the percentage of the distance along the gradient line where the corresponding color is located. |
|
![]() |
Externalizable.readExternal implementation. |
|
![]() |
Gets the gradient orientation angle. |
|
![]() |
Sets the first gradient color. |
|
![]() |
Sets the second gradient color. |
|
![]() |
Sets a ColorBlend that defines a multicolor linear gradient. A ColorBlend contains corresponding arrays of colors and positions. The positions are values from 0 through 1 that specify the percentage of the distance along the gradient line where the corresponding color is located. |
|
![]() |
Externalizable.writeExternal implementation. |