Module object.triangle
Properties of the triangle object most of these properties are optional !
you can use the triangle object to draw triangles in your gui you can use this for aesthetics.
Tables
properties | triangle OBJECT CREATION PROPERTIES |
Tables
- properties
-
triangle OBJECT CREATION PROPERTIES
Fields:
- p1 [position] position of the first point of the triangle. this is an table looking like this {x,y}
- p2 [position] position of the second point of the triangle. this is an table looking like this {x,y}
- p3 [position] position of the third point of the triangle. this is an table looking like this {x,y}
- bg [number] the background color to draw the triangle with
- fg [number] the foreground color to draw the triangle with
- symbol [string] the symbol to draw the triangle with
- filled [boolean] sets whether the triangle should be filled or not