pantheonrl.envs.blockworldgym.rendering.PolyLine

class PolyLine(v, close)[source]

Bases: Geom

Polyline Geometry object

Methods

add_attr

Add an attribute

render

Render the geometry

render1

Render the geometry, implemented by subclass

set_color

Set the color

set_linewidth

Set the line width

add_attr(attr)

Add an attribute

render()

Render the geometry

render1()[source]

Render the geometry, implemented by subclass

set_color(r, g, b)

Set the color

set_linewidth(x)[source]

Set the line width