GRASS Programmer's Manual  6.4.2(2012)
gui_modules.psmap_dialogs.VectorLegend Class Reference

Class representing colortable instruction. More...

Inheritance diagram for gui_modules.psmap_dialogs.VectorLegend:
Collaboration diagram for gui_modules.psmap_dialogs.VectorLegend:

Public Member Functions

def __init__
def __str__
 Returns particular part of text instruction.
def Read
 Read instruction and save information.
def EstimateSize
 Estimate size to draw vector legend.

Data Fields

 type
 defaultInstruction
 instruction

Detailed Description

Class representing colortable instruction.

Definition at line 1271 of file psmap_dialogs.py.


Constructor & Destructor Documentation

Reimplemented from gui_modules.psmap_dialogs.InstructionObject.

Definition at line 1273 of file psmap_dialogs.py.


Member Function Documentation

def gui_modules.psmap_dialogs.VectorLegend.EstimateSize (   self,
  vectorInstr,
  fontsize,
  width = None,
  cols = None 
)

Estimate size to draw vector legend.

Definition at line 1324 of file psmap_dialogs.py.

References max.

def gui_modules.psmap_dialogs.VectorLegend.Read (   self,
  instruction,
  text,
  kwargs 
)

Read instruction and save information.

Reimplemented from gui_modules.psmap_dialogs.InstructionObject.

Definition at line 1295 of file psmap_dialogs.py.

References gui_modules::render.map.


Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines