Search
RadialGradientBrush Constructor
See Also
 






Initializes a new instance of the RadialGradientBrush class.

Namespace: com.mindfusion.drawing
File: com.mindfusion.drawing

 Syntax

Java  Copy Code

public RadialGradientBrush (
    Color centerColor,
    Color surroundingColor,
    double x,
    double y
)

 Parameters

centerColor

A Color object representing the color at the center point.

surroundingColor

A Color object representing the surrounding color.

x

The relative x-coordinate of the center point. Value 0.5 indicates the middle of the destination rectangle.

y

The relative y-coordinate of the center point. Value 0.5 indicates the middle of the destination rectangle.

 See Also