Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1507

Help: Rainmeter Skins • Re: ShapeGradient, how to?

$
0
0
No, I don't understand what you are going for, but in general, here is a gradient shape...

Code:

[Rainmeter]Update=100DynamicWindowSize=1AccurateText=1[Variables]BarW=300[MeasureLoop]Measure=LoopStartValue=0EndValue=100[MeterBar]Meter=ShapeX=0Y=0Shape=Rectangle 0,0,#BarW#,20,10 |  Fill LinearGradient MyGradient1 | StrokeWidth 0MyGradient1=90 | 225,225,225 ; 0.0 | 32,32,32 ; 1.0Shape2=Rectangle 0,0,([MeasureLoop]*#BarW#/100),20,10 | Fill LinearGradient1 MyGradient2 | StrokeWidth 0MyGradient2=180 | 38,222,38,255 ; 0.0 | 38,222,38,255 ; (0.5 + (100-[MeasureLoop])/100) | 235,227,21,255 ; (0.85 + (100-[MeasureLoop])/100) | 240,19,19,255 ; (1.0 + (100-[MeasureLoop])/100)Shape3=Rectangle 0,0,([MeasureLoop]*#BarW#/100),20,10 | Fill LinearGradient MyGradient3 | StrokeWidth 0MyGradient3=90 | 32,32,32,190 ; 0.0 | 225,225,225,1 ; 1.0DynamicVariables=1
Animation.gif

Statistics: Posted by jsmorley — Yesterday, 10:47 pm



Viewing all articles
Browse latest Browse all 1507

Trending Articles