It is currently September 21st, 2019, 5:33 am

Documentation 4.0 Example Code Error

Discussion about the documentation, main Rainmeter site and forums.
LittleSuXing
Posts: 14
Joined: August 25th, 2013, 2:42 pm

Documentation 4.0 Example Code Error

LittleSuXing » January 11th, 2017, 6:44 am

https://docs.rainmeter.net/manual/meters/shape/#DefiningGradients
The Fisrt Example Code of DefiningGradients lost a "=" and a "r".

The code line "MyFillGradient 180 | 255,0,0,255 ; 0.0 | 0,255,0,255 ; 0.5 | 0,0,255,255 ; 1.0"
should be "MyFillGradient=180 | 255,0,0,255 ; 0.0 | 0,255,0,255 ; 0.5 | 0,0,255,255 ; 1.0".

And the Gradient Option Name of "MyStrokeGradient" lost a "r" charactor when reference it in the Shape2 Option.
User avatar
Brian
Developer
Posts: 1897
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Documentation 4.0 Example Code Error

Brian » January 11th, 2017, 7:27 am

Fixed. Thanks.

-Brian