This module include all the classes for drawing simple vertex object.
Bases: kivy.graphics.instructions.VertexInstruction
A 2d triangle.
| Parameters : |
|
|---|
Property for getting/settings points of the triangle
Bases: kivy.graphics.instructions.VertexInstruction
A 2d quad.
| Parameters : |
|
|---|
Property for getting/settings points of the quads
Bases: kivy.graphics.instructions.VertexInstruction
A 2d rectangle.
| Parameters : |
|
|---|
Property for getting/settings the position of the rectangle
Property for getting/settings the size of the rectangle
Bases: kivy.graphics.vertex_instructions.Rectangle
A 2d border image. The behavior of the border image is similar to the concept of CSS3 border-image.
| Parameters : |
|
|---|
Property for getting/setting the border of the class
Bases: kivy.graphics.vertex_instructions.Rectangle
A 2d ellipse.
| Parameters : |
|
|---|
Property for getting/setting the number of segments of the ellipse
Bases: kivy.graphics.instructions.VertexInstruction
A 2d line.
| Parameters : |
|
|---|
Property for getting/settings points of the triangle
Warning
This will always reconstruct the whole graphics from the new points list. It can be very CPU expensive.
Bases: kivy.graphics.instructions.VertexInstruction
A 2d line.
| Parameters : |
|
|---|
Add a point into the current points list.
If you intend to add multiple point, prefer to use this method, instead of reassign a new points list. Assigning a new points list will recalculate and reupload the whole buffer into GPU. If you use add_point, it will only upload the changes.
Property for getting/settings points of the triangle
Property for getting/setting point size