Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dict>
- <key>type</key>
- <string>hand</string>
- <key>source</key>
- <string>hour</string>
- <key>color</key>
- <array>
- <real>0.1</real><real>0.1</real><real>0.1</real><real>1</real>
- -- Pretty basic, Red, Green, Blue, Opacity. seems to go from 0-1 on all of them
- </array>
- <key>origin</key>
- <array>
- <real>27.60</real><real>29.10</real>
- -- Yes, this is the origin of the pointer/hand. I had to tweak this a lot to make it perfect. can't remember which is X and which is Y, but you'll probably find out :P
- </array>
- <key>points</key>
- <array>
- <real>-0.50</real><real>-8</real>
- <real>0.30</real><real>-8</real>
- -- This is kind of the weird part, but from what I found out, the first <real> changes the width and the second the length.
- <real>-0.50</real><real>-8</real>
- <real>0.50</real><real>-8</real>
- ^ This will give you a .5 wide pointer, -8 controls the length. First line seems to control the width of the "base", and second line the tip. So putting -1.0 in the first and 0.0 in the second will give you a triangle pointer.
- <real>0.3</real><real>4.0</real>
- <real>-0.5</real><real>4.0</real>
- -- This is basically the same setup as before, but are only useful if you want the hand to go 'beyond' the center as some clocks do.
- http://i.imgur.com/cXebZ7D.png < (Example)
- </array>
- </dict>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement