TopLegendRenderer class. More...
Public Member Functions | |
__init__ (self) | |
Initializer. | |
draw (self, ctx) | |
Set padding. | |
get_height (self) | |
Set padding. | |
layout (self, width) | |
Set padding. | |
set_legends (self, legends, colors) | |
Set padding. | |
set_padding (self, padding) | |
Set padding. | |
Private Attributes | |
__colors | |
colors | |
__height | |
height | |
__legends | |
legends | |
__padding | |
padding | |
__width | |
width | |
TopLegendRenderer class.
grid.TopLegendRenderer.__init__ | ( | self | ) |
grid.TopLegendRenderer.draw | ( | self, | |
ctx ) |
Set padding.
self | this object |
ctx | ctx |
Definition at line 616 of file grid.py.
References grid.Colors.__colors, grid.TopLegendRenderer.__colors, grid.TopLegendRenderer.__legends, grid.TopLegendRenderer.__padding, grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, and grid.TopLegendRenderer.__width.
grid.TopLegendRenderer.get_height | ( | self | ) |
Set padding.
self | this object |
Definition at line 609 of file grid.py.
References grid.GraphicRenderer.__height, grid.GtkGraphicRenderer.__height, grid.ScaleRenderer.__height, and grid.TopLegendRenderer.__height.
grid.TopLegendRenderer.layout | ( | self, | |
width ) |
grid.TopLegendRenderer.set_legends | ( | self, | |
legends, | |||
colors ) |
grid.TopLegendRenderer.set_padding | ( | self, | |
padding ) |
Set padding.
self | this object |
padding | padding |
Definition at line 564 of file grid.py.
References grid.TopLegendRenderer.__padding.
|
private |
colors
Definition at line 580 of file grid.py.
Referenced by grid.Colors.add(), grid.TopLegendRenderer.draw(), and grid.Colors.lookup().
|
private |
height
Definition at line 607 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_height(), grid.ScaleRenderer.get_height(), grid.TopLegendRenderer.get_height(), and grid.GraphicRenderer.layout().
|
private |
|
private |
padding
Definition at line 562 of file grid.py.
Referenced by grid.TopLegendRenderer.draw(), and grid.TopLegendRenderer.set_padding().
|
private |
width
Definition at line 588 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.ScaleRenderer.draw(), grid.TopLegendRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.ScaleRenderer.get_position(), grid.GraphicRenderer.get_width(), grid.GraphicRenderer.layout(), grid.GraphicRenderer.scale_data(), grid.GraphicRenderer.scale_selection(), and grid.GtkGraphicRenderer.size_allocate().