GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Class representing rectangle with floating point values. More...
Public Member Functions | |
def | __init__ |
def | GetX |
def | GetY |
def | GetWidth |
def | SetWidth |
def | GetHeight |
def | SetHeight |
Data Fields | |
width | |
height | |
Class representing rectangle with floating point values.
Overrides wx.Rect2D to unify Rect access methods, which are different (e.g. wx.Rect.GetTopLeft() x wx.Rect2D.GetLeftTop()). More methods can be added depending on needs.
Definition at line 32 of file psmap/utils.py.
def utils.Rect2D.__init__ | ( | self, | |
x = 0 , |
|||
y = 0 , |
|||
width = 0 , |
|||
height = 0 |
|||
) |
Definition at line 39 of file psmap/utils.py.
def utils.Rect2D.GetHeight | ( | self | ) |
Definition at line 54 of file psmap/utils.py.
References utils.Rect2D.height, mapdisp.MapFrameBase.height, wxnviz.Nviz.height, histogram.HistogramFrame.height, render.Map.height, colorrules.ColorTable.height, model.ModelCondition.height, wxnviz.Texture.height, and dialogs.ImageSizeDialog.height.
def utils.Rect2D.GetWidth | ( | self | ) |
Definition at line 48 of file psmap/utils.py.
References utils.Rect2D.width, wxnviz.Nviz.width, render.Map.width, colorrules.ColorTable.width, model.ModelCondition.width, wxnviz.Texture.width, and dialogs.ImageSizeDialog.width.
def utils.Rect2D.GetX | ( | self | ) |
Definition at line 42 of file psmap/utils.py.
References point.x, fcell_triple.x, pg_vertex.x, intersection_point.x, triple.x, Slink.x, vector.x, NEW2.x, plane.x, XPNT.x, N_les.x, CROSS.x, N_gradient_neighbours_2d.x, and frame.ModelEvtHandler.x.
def utils.Rect2D.GetY | ( | self | ) |
Definition at line 45 of file psmap/utils.py.
References point.y, fcell_triple.y, pg_vertex.y, intersection_point.y, triple.y, vector.y, NEW2.y, plane.y, XPNT.y, CROSS.y, N_gradient_neighbours_2d.y, and frame.ModelEvtHandler.y.
def utils.Rect2D.SetHeight | ( | self, | |
height | |||
) |
Definition at line 57 of file psmap/utils.py.
def utils.Rect2D.SetWidth | ( | self, | |
width | |||
) |
Definition at line 51 of file psmap/utils.py.
utils.Rect2D.height |
Definition at line 58 of file psmap/utils.py.
Referenced by utils.Rect2D.GetHeight().
utils.Rect2D.width |
Definition at line 52 of file psmap/utils.py.
Referenced by utils.Rect2D.GetWidth().