KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
pcbnew.wxRect Class Reference
Inheritance diagram for pcbnew.wxRect:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, *args)
 
def GetX (self)
 
def SetX (self, xx)
 
def GetY (self)
 
def SetY (self, yy)
 
def GetWidth (self)
 
def SetWidth (self, w)
 
def GetHeight (self)
 
def SetHeight (self, h)
 
def GetPosition (self)
 
def SetPosition (self, p)
 
def Get (self)
 
def __eq__ (self, other)
 
def __str__ (self)
 
def __repr__ (self)
 
def __len__ (self)
 
def __getitem__ (self, index)
 
def __setitem__ (self, index, val)
 
def __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 488 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def 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 494 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __eq__()

def pcbnew.wxRect.__eq__ (   self,
  other 
)

Definition at line 553 of file pcbnew.py.

◆ __getitem__()

def pcbnew.wxRect.__getitem__ (   self,
  index 
)

Definition at line 558 of file pcbnew.py.

◆ __len__()

def pcbnew.wxRect.__len__ (   self)

Definition at line 557 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.wxRect.__nonzero__ (   self)

Definition at line 565 of file pcbnew.py.

◆ __repr__()

def pcbnew.wxRect.__repr__ (   self)

Definition at line 556 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 559 of file pcbnew.py.

◆ __str__()

def pcbnew.wxRect.__str__ (   self)

Definition at line 555 of file pcbnew.py.

Here is the caller graph for this function:

◆ Get()

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

Definition at line 548 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetHeight()

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

Definition at line 528 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetPosition()

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

Definition at line 536 of file pcbnew.py.

◆ GetWidth()

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

Definition at line 520 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetX()

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

Definition at line 504 of file pcbnew.py.

◆ GetY()

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

Definition at line 512 of file pcbnew.py.

◆ SetHeight()

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

Definition at line 532 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetPosition()

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

Definition at line 540 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetWidth()

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

Definition at line 524 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetX()

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

Definition at line 508 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetY()

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

Definition at line 516 of file pcbnew.py.

Here is the caller graph for this function:

Property Documentation

◆ height

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

Definition at line 546 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 491 of file pcbnew.py.

◆ width

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

Definition at line 545 of file pcbnew.py.

◆ x

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

Definition at line 543 of file pcbnew.py.

◆ y

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

Definition at line 544 of file pcbnew.py.


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