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 566 of file grid.py.
References grid.Colors.__colors, grid.TopLegendRenderer.__colors, grid.TopLegendRenderer.__legends, grid.TopLegendRenderer.__padding, and grid.TopLegendRenderer.__width.
def grid.TopLegendRenderer.get_height | ( | self | ) |
Set padding.
self | this object |
Definition at line 560 of file grid.py.
References grid.TopLegendRenderer.__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 517 of file grid.py.
References grid.TopLegendRenderer.__padding.
|
private |
|
private |
height
Definition at line 558 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 516 of file grid.py.
Referenced by grid.TopLegendRenderer.draw(), and grid.TopLegendRenderer.set_padding().
|
private |
width
Definition at line 539 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().