TopLegendRenderer class. More...
Public Member Functions | |
def | __init__ (self) |
Initializer. More... | |
def | draw (self, ctx) |
Set padding. More... | |
def | get_height (self) |
Set padding. More... | |
def | layout (self, width) |
Set padding. More... | |
def | set_legends (self, legends, colors) |
Set padding. More... | |
def | set_padding (self, padding) |
Set padding. More... | |
Private Attributes | |
__colors | |
colors More... | |
__height | |
height More... | |
__legends | |
legends More... | |
__padding | |
padding More... | |
__width | |
width More... | |
TopLegendRenderer class.
def grid.TopLegendRenderer.__init__ | ( | self | ) |
def 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.TopLegendRenderer.__width, grid.ScaleRenderer.__width, grid.GraphicRenderer.__width, and grid.GtkGraphicRenderer.__width.
def grid.TopLegendRenderer.get_height | ( | self | ) |
Set padding.
self | this object |
Definition at line 609 of file grid.py.
References grid.TopLegendRenderer.__height, grid.ScaleRenderer.__height, grid.GraphicRenderer.__height, and grid.GtkGraphicRenderer.__height.
def grid.TopLegendRenderer.layout | ( | self, | |
width | |||
) |
def grid.TopLegendRenderer.set_legends | ( | self, | |
legends, | |||
colors | |||
) |
def 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.TopLegendRenderer.get_height(), grid.ScaleRenderer.get_height(), grid.GraphicRenderer.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.TopLegendRenderer.draw(), grid.ScaleRenderer.draw(), grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.ScaleRenderer.get_position(), grid.GraphicRenderer.get_width(), grid.GraphicRenderer.layout(), grid.GraphicRenderer.scale_data(), and grid.GraphicRenderer.scale_selection().