Advertisement
dansaDisco

Untitled

May 11th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <dict>
  2. <key>type</key>
  3. <string>hand</string>
  4. <key>source</key>
  5. <string>hour</string>
  6. <key>color</key>
  7. <array>
  8. <real>0.1</real><real>0.1</real><real>0.1</real><real>1</real>
  9. -- Pretty basic, Red, Green, Blue, Opacity. seems to go from 0-1 on all of them
  10. </array>
  11. <key>origin</key>
  12. <array>
  13. <real>27.60</real><real>29.10</real>
  14. -- 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
  15. </array>
  16. <key>points</key>
  17. <array>
  18. <real>-0.50</real><real>-8</real>
  19. <real>0.30</real><real>-8</real>
  20. -- This is kind of the weird part, but from what I found out, the first <real> changes the width and the second the length.
  21. <real>-0.50</real><real>-8</real>
  22. <real>0.50</real><real>-8</real>
  23. ^ 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.
  24.  
  25. <real>0.3</real><real>4.0</real>
  26. <real>-0.5</real><real>4.0</real>
  27. -- 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.
  28. http://i.imgur.com/cXebZ7D.png < (Example)
  29. </array>
  30. </dict>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement