Search
GradientBrush Members
Constructors Methods
 


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.

 Public Constructors

  Name Description

GradientBrush

Overloaded.  

 Public Methods

  Name Description

applyTo

Applies the brush to the specified graphics.

clone

Creates a clone of the brush.

getAngle

Gets the gradient orientation angle.

getColor1

Gets the first gradient color.

getColor2

Gets the second gradient color.

getColors

 

getFractions

 

readExternal

Implements Externalizable.

setAngle

Sets the gradient orientation angle.

setColor1

Sets the first gradient color.

setColor2

Sets the second gradient color.

setColors

 

setFractions

 

toColor

 

writeExternal

Implements Externalizable.

 See Also