efl.evas.Line Class¶efl.evas.Line(Canvas canvas, start=None, end=None, geometry=None, size=None, pos=None, **kwargs)¶Bases: efl.evas.Object
canvas (Canvas) – Evas canvas for this object
start (tuple of ints) – Start coordinates (x, y)
end (tuple of ints) – End coordinates (x, y)
geometry (tuple of ints) – Geometry of the line (x, y, w, h)
size (tuple of ints) – Size of the line (w, h)
pos (tuple of ints) – Position of the line (x, y)
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance
end¶The end point of the line.
(int x, int y)
end_get¶end_set¶start¶The starting point of the line.
(int x, int y)
start_get¶start_set¶xy¶Two points of the line.
(int x0, int y0, int x1, int y1)
xy_get¶xy_set¶