mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:22:45 +00:00 
			
		
		
		
	 aa3464466e
			
		
	
	
		aa3464466e
		
	
	
	
	
		
			
			This represents the SVG <linearGradient>. The actual gradient is converted to a Gfx::PaintStyle for use in SVG fills... There is a little guesswork in the implementation, but it seems to match Chrome/Firefox. Note: Still not hooked up to actual painting in this commit.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <SVG/SVGGradientElement.idl>
 | |
| 
 | |
| [Exposed=Window]
 | |
| interface SVGLinearGradientElement : SVGGradientElement {
 | |
|   [SameObject] readonly attribute SVGAnimatedLength x1;
 | |
|   [SameObject] readonly attribute SVGAnimatedLength y1;
 | |
|   [SameObject] readonly attribute SVGAnimatedLength x2;
 | |
|   [SameObject] readonly attribute SVGAnimatedLength y2;
 | |
| };
 |