New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

18
script/test41.py Executable file
View File

@@ -0,0 +1,18 @@
p = plot([1,2,3,4,5], title="x")[0]
text = p.addText(1.5, 3.6, "Test")
#Changing color
text.paint = Color.GREEN
#Changing font
import java.awt.Font as Font
text.font = Font("Verdana", Font.PLAIN, 12)
#Rotation
import math
text.rotationAngle = math.radians(90.0)
#Removing
p.removeText(text)