-
Book Overview & Buying
-
Table Of Contents
Kivy: Interactive Applications in Python
By :
In this chapter we introduced many topics related to the use of the canvas. We covered the use of vertex and context instructions and how to manipulate the order of execution of instructions. You learned how to deal with transformation of the Canvas, either reversing all the transformations or using RelativeLayout. The following is a summary of components that you learned to use in this chapter:
The VertexInstructions subclasses (and some of its properties): Rectangle (pos and size), Ellipse (pos, size, angle_start, angle_end, and segments), Triangle (points), Quad (points), Point (points and pointsize), Line (points, ellipse, circle, rectangle, width, close, dash_lenght, dash_offset, and cap), Bezier (points, segments, dash_lenght, and dash_offset), and Mesh (mode, vertices, and indices)
The source property of VertexInstructions base class
The three Canvas instances of the Widget: canvas.before, canvas, and canvas.after
The context instructions (with some of their properties): Color...
Change the font size
Change margin width
Change background colour