godot/xdot_parser.py
def _proc_polygon(self, tokens, filled):
        """ Returns the components of a polygon. """

        pts = [(p["x"], p["y"]) for p in tokens["points"]]
        component = Polygon(pen=self.pen, points=pts, filled=filled)

        return component
def _proc_polygon(self, tokens, filled):
        pts = [(p["x"], p["y"]) for p in tokens["points"]]
        component = Polygon(pen=self.pen, points=pts, filled=filled)

        return component
def _proc_polygon ( self , tokens , filled ) : pts = [ ( p [ "x" ] , p [ "y" ] ) for p in tokens [ "points" ] ] component = Polygon ( pen = self . pen , points = pts , filled = filled ) return component
Returns the components of a polygon.
Returns the components of a polygon .