GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Class representing colortable instruction. More...
Public Member Functions | |
def | __init__ |
def | __str__ |
def | Read |
Read instruction and save information. More... | |
def | EstimateHeight |
Estimate height to draw raster legend. More... | |
def | EstimateWidth |
Estimate size to draw raster 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 | |
Class representing colortable instruction.
Definition at line 1277 of file instructions.py.
def instructions.RasterLegend.__init__ | ( | self, | |
id | |||
) |
Definition at line 1279 of file instructions.py.
def instructions.RasterLegend.__str__ | ( | self | ) |
Definition at line 1293 of file instructions.py.
References instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, and dialogs.LegendDialog.instruction.
def instructions.RasterLegend.EstimateHeight | ( | self, | |
raster, | |||
discrete, | |||
fontsize, | |||
cols = None , |
|||
height = None |
|||
) |
Estimate height to draw raster legend.
Definition at line 1378 of file instructions.py.
References utils.split().
def instructions.RasterLegend.EstimateWidth | ( | self, | |
raster, | |||
discrete, | |||
fontsize, | |||
cols = None , |
|||
width = None , |
|||
paperInstr = None |
|||
) |
Estimate size to draw raster legend.
Definition at line 1407 of file instructions.py.
References max.
def instructions.RasterLegend.Read | ( | self, | |
instruction, | |||
text, | |||
kwargs | |||
) |
Read instruction and save information.
Definition at line 1315 of file instructions.py.
References utils.getRasterType().
instructions.RasterLegend.defaultInstruction |
Definition at line 1283 of file instructions.py.
instructions.RasterLegend.instruction |
Definition at line 1291 of file instructions.py.
instructions.RasterLegend.type |
Definition at line 1281 of file instructions.py.
Referenced by widgets.BaseValidator.Validate().