GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
instructions.VectorLegend Class Reference

Class representing colortable instruction. More...

Inheritance diagram for instructions.VectorLegend:
Collaboration diagram for instructions.VectorLegend:

Public Member Functions

def __init__
 
def __str__
 
def Read
 Read instruction and save information. More...
 
def EstimateSize
 Estimate size to draw vector legend. More...
 
- Public Member Functions inherited from instructions.InstructionObject
def __init__
 
def __str__
 Returns particular part of text instruction. More...
 
def __getitem__
 
def __setitem__
 
def GetInstruction
 Get current values. More...
 
def SetInstruction
 Set default values. More...
 
def Read
 Read instruction and save them. More...
 
def PercentToReal
 Converts text coordinates from percent of region to map coordinates. More...
 

Data Fields

 type
 
 defaultInstruction
 
 instruction
 
- Data Fields inherited from instructions.InstructionObject
 id
 
 defaultInstruction
 
 instruction
 
 unitConv
 

Detailed Description

Class representing colortable instruction.

Definition at line 1437 of file instructions.py.

Constructor & Destructor Documentation

def instructions.VectorLegend.__init__ (   self,
  id 
)

Definition at line 1439 of file instructions.py.

Member Function Documentation

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

Estimate size to draw vector legend.

Definition at line 1490 of file instructions.py.

References max.

def instructions.VectorLegend.Read (   self,
  instruction,
  text,
  kwargs 
)

Read instruction and save information.

Definition at line 1461 of file instructions.py.

Field Documentation

instructions.VectorLegend.defaultInstruction

Definition at line 1443 of file instructions.py.

instructions.VectorLegend.instruction

Definition at line 1448 of file instructions.py.

instructions.VectorLegend.type

Definition at line 1441 of file instructions.py.

Referenced by widgets.BaseValidator.Validate().


The documentation for this class was generated from the following file: