GradientBackgroundNode¶
Overview¶
Base type for nodes that are used as the background on a tab and that have some sort of gradient to it. Example include ground and sky.
@author John Blanco @author Sam Reid (PhET Interactive Simulations)
Class GradientBackgroundNode¶
Constructor¶
new GradientBackgroundNode( x : number, y : number, width : number, height : number, color1 : TColor, color2 : TColor, y1 : number, y2 : number )¶
Instance Methods¶
Source Code¶
See the source for GradientBackgroundNode.ts in the scenery-phet repository.