LinearGradient Class — react Architecture
Architecture documentation for the LinearGradient class in ReactART.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 824341aa_8a98_ffd3_178b_d734492760b5["LinearGradient"] e064536f_e798_4392_8a3b_fe7d105a0a21["ReactART.js"] 824341aa_8a98_ffd3_178b_d734492760b5 -->|defined in| e064536f_e798_4392_8a3b_fe7d105a0a21 0c914b0e_6cde_e3f5_de0c_14751a2b00d6["constructor()"] 824341aa_8a98_ffd3_178b_d734492760b5 -->|method| 0c914b0e_6cde_e3f5_de0c_14751a2b00d6 ce64de88_f82b_766a_52be_d62a8e0739a9["applyFill()"] 824341aa_8a98_ffd3_178b_d734492760b5 -->|method| ce64de88_f82b_766a_52be_d62a8e0739a9
Relationship Graph
Source Code
packages/react-art/src/ReactART.js lines 41–49
class LinearGradient {
constructor(stops, x1, y1, x2, y2) {
this._args = slice.call(arguments);
}
applyFill(node) {
node.fillLinear.apply(node, this._args);
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the LinearGradient class?
LinearGradient is a class in the react codebase, defined in packages/react-art/src/ReactART.js.
Where is LinearGradient defined?
LinearGradient is defined in packages/react-art/src/ReactART.js at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free