GRASS Programmer's Manual
6.4.4(2014)-r
|
Class representing line instruction. More...
Public Member Functions | |
def | __init__ (self, id) |
def | __str__ (self) |
def | Read (self, instruction, text, kwargs) |
Read instruction and save information. More... | |
![]() | |
def | __init__ (self, id) |
def | __str__ (self) |
Returns particular part of text instruction. More... | |
def | __getitem__ (self, key) |
def | __setitem__ (self, key, value) |
def | GetInstruction (self) |
Get current values. More... | |
def | SetInstruction (self, instruction) |
Set default values. More... | |
def | Read (self, instruction, text, kwargs) |
Read instruction and save them. More... | |
def | PercentToReal (self, e, n) |
Converts text coordinates from percent of region to map coordinates. More... | |
Data Fields | |
type | |
defaultInstruction | |
instruction | |
![]() | |
id | |
defaultInstruction | |
instruction | |
unitConv | |
Class representing line instruction.
Definition at line 1082 of file instructions.py.
def instructions.Line.__init__ | ( | self, | |
id | |||
) |
Definition at line 1084 of file instructions.py.
def instructions.Line.__str__ | ( | self | ) |
Definition at line 1095 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.Line.Read | ( | self, | |
instruction, | |||
text, | |||
kwargs | |||
) |
Read instruction and save information.
Definition at line 1102 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, dialogs.LegendDialog.instruction, utils.PaperMapCoordinates(), and instructions.InstructionObject.PercentToReal().
instructions.Line.defaultInstruction |
Definition at line 1088 of file instructions.py.
instructions.Line.instruction |
Definition at line 1093 of file instructions.py.
instructions.Line.type |
Definition at line 1086 of file instructions.py.
Referenced by widgets.BaseValidator.Validate().