Created
October 1, 2014 19:47
-
-
Save kived/d32f37a70c7e05423ec0 to your computer and use it in GitHub Desktop.
Kivy: Line(circle) misaligned
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kivy | |
kivy.require('1.8.1') | |
from kivy.app import App | |
from kivy.lang import Builder | |
root = Builder.load_string(''' | |
Widget: | |
canvas: | |
Color: | |
rgba: 0, 0, 1, 1 | |
Line: | |
points: 300, 100, 300, 500 | |
Color: | |
rgba: 1, 1, 1, 1 | |
Line: | |
circle: 300, 300, 100, 2, 182 | |
''') | |
class TestApp(App): | |
def build(self): | |
return root | |
if __name__ == '__main__': | |
TestApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment