It is currently November 28th, 2022, 2:33 pm

[Exists] Gradient Fill

Report bugs with the Rainmeter application and suggest features.
User avatar
taipan_snake
Posts: 18
Joined: July 29th, 2009, 7:14 am
Location: Sydney, Australia

[Exists] Gradient Fill

Post by taipan_snake »

It would be a good feature to have the capability of gradient fill in an "IMAGE" meter, and maybe even in bar monitors and histograms too.....
User avatar
kenz0
Developer
Posts: 263
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: Gradient Fill

Post by kenz0 »

taipan_snake wrote:It would be a good feature to have the capability of gradient fill in an "IMAGE" meter, and maybe even in bar monitors and histograms too.....
IMAGE meter can paint gradients.

Code: Select all

[MeterGradient]
Meter=Image
X=0
Y=0
W=100
H=100
SolidColor=255, 255, 255
SolidColor2=0, 0, 0
GradientAngle=90.0
You can fill in color of a background of each meter using SolidColor. If you add SolidColor2, it will be painted as gradient color.

SolidColor, SolidColor2... these are the common items which define a background color of each meter and which can be used for all the meter. For example, when these are used in String meter, the background of the text will be painted with gradient color.

Now, these are the definitions of a background color and are not the definitions of a contents color. so about bar or histograms, these will not live up to your expectations.
But it is possible to solve it by using a image in such a case. I guess the items that PrimaryImage or BarImage exist for it.
.
Image
User avatar
taipan_snake
Posts: 18
Joined: July 29th, 2009, 7:14 am
Location: Sydney, Australia

Re: Gradient Fill

Post by taipan_snake »

Hmm...I never knew about "SolidColor2" Thanks for telling me!