Home / Class/ RadialGradient Class — react Architecture

RadialGradient Class — react Architecture

Architecture documentation for the RadialGradient class in ReactART.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  18376e40_ea85_472f_d1a1_639cba2a95b6["RadialGradient"]
  e064536f_e798_4392_8a3b_fe7d105a0a21["ReactART.js"]
  18376e40_ea85_472f_d1a1_639cba2a95b6 -->|defined in| e064536f_e798_4392_8a3b_fe7d105a0a21
  6b4a33f6_9df8_1d24_3a0f_36373df7c843["constructor()"]
  18376e40_ea85_472f_d1a1_639cba2a95b6 -->|method| 6b4a33f6_9df8_1d24_3a0f_36373df7c843
  5fd15103_7c39_4fe7_33b1_982f7cdee948["applyFill()"]
  18376e40_ea85_472f_d1a1_639cba2a95b6 -->|method| 5fd15103_7c39_4fe7_33b1_982f7cdee948

Relationship Graph

Source Code

packages/react-art/src/ReactART.js lines 51–59

class RadialGradient {
  constructor(stops, fx, fy, rx, ry, cx, cy) {
    this._args = slice.call(arguments);
  }

  applyFill(node) {
    node.fillRadial.apply(node, this._args);
  }
}

Domain

Frequently Asked Questions

What is the RadialGradient class?
RadialGradient is a class in the react codebase, defined in packages/react-art/src/ReactART.js.
Where is RadialGradient defined?
RadialGradient is defined in packages/react-art/src/ReactART.js at line 51.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free