It is currently March 28th, 2024, 11:07 pm

Gradient help [SOLVED]

Get help with creating, editing & fixing problems with skins
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Gradient help [SOLVED]

Post by CyberTheWorm »

Trying to flip text and fade to transparency.

Using this.

Code: Select all

InlineSetting2=GradientColor | 270 | 255,255,255,255 ; 0.4 |127,127,127,255 ; 1.0
I get this which is what I expected.
Capture1.PNG
When I change to this.

Code: Select all

InlineSetting2=GradientColor | 270 | 255,255,255,1 ; 0.4 |127,127,127,255 ; 1.0
I get this, which is not what I expected.
Capture2.PNG
What am I doing wrong?
GradientTest_1.0.rmskin
You do not have the required permissions to view the files attached to this post.
Last edited by CyberTheWorm on October 9th, 2017, 6:24 am, edited 1 time in total.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Gradient help

Post by eclectic-tech »

You are mixing InlineSettings with the old style StringEffects and FontEffectColor. That is why the Inline gradient is not working. Use the Inline Shadow and font effect color in the reflection meter...

Code: Select all

[MeterTimeFlip]
Meter=String
X=300
Y=200r
AntiAlias=1
MeasureName=MeasureTime
FontColor=#MyFontColor#
FontFace=#MyFont#
FontSize=200
;StringEffect=#MyEffect#
;FontEffectColor=#MyEffectColor#
StringAlign=CenterCenter
InlineSetting=Weight | 600
InlineSetting2=GradientColor | 90 | 255,255,255,225 ; 0.0 | 127,127,127,0 ; 0.8
InlineSetting3=Shadow | -2 | -2 | 3 | #MyEffectColor#
TransformationMatrix=1;0;0;-1;0;(([#CURRENTSECTION#:Y]+[#CURRENTSECTION#:H])*2)
Text=%1
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Gradient help

Post by CyberTheWorm »

eclectic-tech wrote:You are mixing InlineSettings with the old style StringEffects and FontEffectColor. That is why the Inline gradient is not working. Use the Inline Shadow and font effect color in the reflection meter...
Thanks, works great now :thumbup:
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Gradient help [SOLVED]

Post by eclectic-tech »

Glad to hear. :great:

InlineSettings replace, and expand what was available using StringEffects, I would recommend using InlineSettings for all effects on text.
As you found out, mixing the 2 styles can create issues. :uhuh: