RadialGradientBrush
Namespace: PP;
Inheritance hierarchy
Object
Brush
GradientBrush
RadialGradientBrush
Description
The RadialGradientBrush class implements the brush of the radial gradient.
Syntax
PP.initClass(PP.RadialGradientBrush, PP.GradientBrush, "RadialGradientBrush");
Constructor
|
Constructor name |
Brief description |
|
RadialGradientBrush |
The RadialGradientBrush constructor creates an instance of the RadialGradientBrush class. |
Properties
|
Property name |
Brief description |
|
Center |
The Center property sets the central point of the gradient. |
Methods
|
Method name |
Brief description |
|
toCSSFormat |
The toCSSFormat method returns a string in the CSS format with settings of radial gradient fill brush. |
|
toSVGFormat |
The toSVGFormat method applies brush to the specified SVG element. |
Properties inherited from the GradientBrush class
|
Property name |
Brief description |
|
GradientStops |
The GradientStops property sets an array of transition points in a gradient. |
|
GradientType |
The GradientType property determines brush gradient direction. |
Properties inherited from the Brush class
|
Property name |
Brief description |
|
Enabled |
The Enabled property determines whether the brush can be applied to a component. |
|
Opacity |
The Opacity property determines fill transparency. |
Properties inherited from the Object class
|
Property name |
Brief description |
|
Data |
The Data property associates a random object with this component. |
|
Id |
The Id property sets component identifier. |
|
Settings |
The Settings property sets the component parameters. |
Methods inherited from the Object class
|
Method name |
Brief description |
|
clone |
The clone method creates a copy of object. It is not implemented in PP.Ui.Control. |
|
dispose |
The dispose method deletes the component. |
|
getTypeName |
The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
PP