I don't see how any solid background is really required in any of the solutions.GamingZacharyC wrote: ↑June 1st, 2021, 2:01 pm So the problem with all of these solutions is that all of them require a solid background. Currently, I'm making a suite of skins in the style of the illustro (default) pack. Here's what I currently have, and what I want to have can be found in the original post.
img.png
Code: Select all
[Rainmeter]
Update=500
DynamicWindowSize=1
AccurateText=1
[Variables]
[MeasureValue]
Measure=Calc
Formula=Random
LowBound=0
HighBound=100
[MeterGradientShape]
Meter=Shape
Shape=Rectangle 5,5,210,70 | StrokeWidth 0 | Fill LinearGradient MyGradient
MyGradient= 90 | 0,0,200,255 ; 0.1 | 0,255,0,255 ; 0.5 | 255,0,0,255 ; 0.9
Container=MeterLine
[MeterLine]
Meter=Line
MeasureName=MeasureValue
X=5
Y=5
W=210
H=70
LineCount=1
LineColor=255,255,255,255
AutoScale=1
AntiAlias=1
Don't be fooled into thinking that just because [MeterGradientShape] is a solid rectangle, that that means that the meter will have a solid background. [MeterGradientShape] is being used as as "content" for a "Container", and ONLY the pixels in it that correspond to a solid pixel in the Container that it is put in will be drawn at all. The rest of the content meter, no matter what it would look like on its own, just doesn't exist.
https://docs.rainmeter.net/manual-beta/meters/general-options/container/