DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / RadialGradientBrush Class
Properties Methods

RadialGradientBrush Class Members

The following tables list the members exposed by RadialGradientBrush.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyGets or sets the center of the end circle that defines the end of the gradient.

(0, 0) is the top-left corner, (1, 1) is the bottom-right corner. The default is (0.5f, 0.5f).

This property only has effect if the RadiusOfEndCircle property is set.

 
Public PropertyGets or sets the center of the start circle that defines the beginning of the gradient.

(0, 0) is the top-left corner, (1, 1) is the bottom-right corner.

If not specified, the center of the start circle coincides with CenterOfEndCircle.

 
Public PropertyGets or sets the ending gradient color.  
Public PropertyGets or sets a value indicating whether to extend gradient beyond the end circle.

This property only has effect if the RadiusOfEndCircle property is set.

The default is true.

 
Public PropertyGets or sets a value indicating whether to extend the gradient beyond the start circle.

This property only has effect if the RadiusOfEndCircle property is set.

The default is true.

 
Public PropertyGets or sets the collection of gradient stops.  
Public PropertyGets or sets a value indicating whether to normalize the brush ensuring that it renders in the same way on all supported target graphics (such as PDF, bitmap or SVG).
  • If true, and the focal point is outside the end circle, it is moved to be on the end circle.
  • If false, the focal point position is not adjusted if it is outside the end circle, and the result will depend on the implementation of the target GcGraphics.

The default is true.

 
Public PropertyGets or sets the radius of the end circle that defines the end of the gradient, as a fraction of the normalized diagonal. The normalized diagonal length is calculated as sqrt(width² + height²) / sqrt(2).

Setting this property to a non-a null reference (Nothing in Visual Basic) value enables the following properties:

And the following properties are ignored if this property has a value:
  • CoverRectangle
  • AllowEllipticGradients
 
Public PropertyGets or sets the radius of the start circle that defines the beginning of the gradient, as a fraction of the normalized diagonal. The normalized diagonal length is calculated as sqrt(width² + height²) / sqrt(2).

This property only has effect if the RadiusOfEndCircle property is set.

The default is 0.

 
Public PropertyGets or sets the starting gradient color.  
Public PropertyOverridden. Gets a value indicating whether the brush is actually visible.  
Top
Public Methods
 NameDescription
Public MethodReturns a value indicating whether brush uses semi-transparent colors.  
Top
See Also