.. default-domain:: lua .. highlight:: lua .. currentmodule:: Drawing Polygon ======= .. class:: Polygon A polygon. Created using :meth:`Drawing.add_polygon`. | Base class: :class:`Drawing.FramedPath` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.FramedPath`: :attr:`reference_frame ` * From :class:`Drawing.Path`: :attr:`colors `, :attr:`thickness `, :attr:`start_arrow `, :attr:`end_arrow `, :attr:`arrow_size `, :attr:`dashed `, :attr:`label ` * From :class:`Drawing.Drawable`: :attr:`visible `, :attr:`color `, :attr:`material `, :meth:`remove ` .. attribute:: vertices: List Vertices for the polygon. :Attribute: Can be read or written