Namespace: PP;
SolidColorBrush
The SolidColorBrush class implements the brush with the solid fill.
PP.initClass(PP.SolidColorBrush, PP.Brush, "SolidColorBrush");
Constructor name | Brief description | |
SolidColorBrush | The SolidColorBrush constructor implements an instance of the SolidColorBrush class. |
Property name | Brief description | |
Color | The Color property sets fill color. |
Method name | Brief description | |
applyMixToNode | The applyMixToNode method applies the brush mixed color with solid fill to the specified DOM element. | |
applyToCanvas | The applyToCanvas method applies the solid fill brush to the specified canvas. | |
applyToNode | The applyToNode method applies the solid fill brush to the specified DOM element. | |
getMix | The getMix method returns the solid fill brush obtained after mixing with the specified brush in the certain ratio. | |
getMixColor | The getMixColor method returns color of the solid fill brush obtained after mixing with the specified brush in the certain ratio. | |
toCSSFormat | The toCSSFormat method returns the string in the CSS format with settings of solid gradient fill brush. | |
toSVGFormat | The toSVGFormat method applies the brush to the specified SVG element. |
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. |
Method name | Brief description | |
applyMatrix | The applyMatrix method applies a color matrix for the brush. |
Property name | Brief description | |
The Id property determines a repository object identifier. |
Method name | Brief description | |
clone | The clone method creates an object copy. | |
dispose | The dispose method deletes the component. | |
getHashCode | The getHashCode method returns hash code of repository object. | |
getId | The getId method returns repository object identifier. | |
getSettings | The getSettings method returns repository object settings. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
isLive | The isLive method determines validity of repository object. | |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
setId | The setId method determines a repository object identifier. | |
setSettings | The setSettings method determines repository object settings. | |
defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: