KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.wxRect Class Reference
Inheritance diagram for pcbnew.wxRect:

Public Member Functions

 __init__ (self, *args)
 
 GetX (self)
 
 SetX (self, xx)
 
 GetY (self)
 
 SetY (self, yy)
 
 GetWidth (self)
 
 SetWidth (self, w)
 
 GetHeight (self)
 
 SetHeight (self, h)
 
 GetPosition (self)
 
 SetPosition (self, p)
 
 Get (self)
 
 __eq__ (self, other)
 
 __str__ (self)
 
 __repr__ (self)
 
 __len__ (self)
 
 __getitem__ (self, index)
 
 __setitem__ (self, index, val)
 
 __nonzero__ (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=)
 
 y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=)
 
 width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=)
 
 height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=)
 

Detailed Description

Proxy of C++ wxRect class.

Definition at line 493 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.wxRect.__init__ ( self,
* args )
    __init__(wxRect self) -> wxRect
    __init__(wxRect self, int xx, int yy, int ww, int hh) -> wxRect
    __init__(wxRect self, wxPoint topLeft, wxPoint bottomRight) -> wxRect
    __init__(wxRect self, wxPoint pt, wxSize size) -> wxRect
    __init__(wxRect self, wxSize size) -> wxRect

Definition at line 499 of file pcbnew.py.

Member Function Documentation

◆ __eq__()

pcbnew.wxRect.__eq__ ( self,
other )

Definition at line 558 of file pcbnew.py.

◆ __getitem__()

pcbnew.wxRect.__getitem__ ( self,
index )

Definition at line 563 of file pcbnew.py.

◆ __len__()

pcbnew.wxRect.__len__ ( self)

Definition at line 562 of file pcbnew.py.

◆ __nonzero__()

pcbnew.wxRect.__nonzero__ ( self)

Definition at line 570 of file pcbnew.py.

◆ __repr__()

pcbnew.wxRect.__repr__ ( self)

Definition at line 561 of file pcbnew.py.

◆ __setitem__()

pcbnew.wxRect.__setitem__ ( self,
index,
val )

Definition at line 564 of file pcbnew.py.

◆ __str__()

pcbnew.wxRect.__str__ ( self)

Definition at line 560 of file pcbnew.py.

◆ Get()

pcbnew.wxRect.Get ( self)
Get(wxRect self) -> PyObject *

Definition at line 553 of file pcbnew.py.

◆ GetHeight()

pcbnew.wxRect.GetHeight ( self)
GetHeight(wxRect self) -> int

Definition at line 533 of file pcbnew.py.

◆ GetPosition()

pcbnew.wxRect.GetPosition ( self)
GetPosition(wxRect self) -> wxPoint

Definition at line 541 of file pcbnew.py.

◆ GetWidth()

pcbnew.wxRect.GetWidth ( self)
GetWidth(wxRect self) -> int

Definition at line 525 of file pcbnew.py.

◆ GetX()

pcbnew.wxRect.GetX ( self)
GetX(wxRect self) -> int

Definition at line 509 of file pcbnew.py.

◆ GetY()

pcbnew.wxRect.GetY ( self)
GetY(wxRect self) -> int

Definition at line 517 of file pcbnew.py.

◆ SetHeight()

pcbnew.wxRect.SetHeight ( self,
h )
SetHeight(wxRect self, int h)

Definition at line 537 of file pcbnew.py.

◆ SetPosition()

pcbnew.wxRect.SetPosition ( self,
p )
SetPosition(wxRect self, wxPoint p)

Definition at line 545 of file pcbnew.py.

◆ SetWidth()

pcbnew.wxRect.SetWidth ( self,
w )
SetWidth(wxRect self, int w)

Definition at line 529 of file pcbnew.py.

◆ SetX()

pcbnew.wxRect.SetX ( self,
xx )
SetX(wxRect self, int xx)

Definition at line 513 of file pcbnew.py.

◆ SetY()

pcbnew.wxRect.SetY ( self,
yy )
SetY(wxRect self, int yy)

Definition at line 521 of file pcbnew.py.

Property Documentation

◆ height

pcbnew.wxRect.height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=)
static

Definition at line 551 of file pcbnew.py.

◆ thisown

pcbnew.wxRect.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 496 of file pcbnew.py.

◆ width

pcbnew.wxRect.width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=)
static

Definition at line 550 of file pcbnew.py.

◆ x

pcbnew.wxRect.x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=)
static

Definition at line 548 of file pcbnew.py.

◆ y

pcbnew.wxRect.y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=)
static

Definition at line 549 of file pcbnew.py.


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