KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | 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)
 

Public Attributes

 x
 
 y
 
 width
 
 height
 

Properties

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

Detailed Description

Proxy of C++ wxRect class.

Definition at line 486 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 492 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 551 of file pcbnew.py.

◆ __getitem__()

def pcbnew.wxRect.__getitem__ (   self,
  index 
)

Definition at line 556 of file pcbnew.py.

◆ __len__()

def pcbnew.wxRect.__len__ (   self)

Definition at line 555 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.wxRect.__nonzero__ (   self)

Definition at line 563 of file pcbnew.py.

◆ __repr__()

def pcbnew.wxRect.__repr__ (   self)

Definition at line 554 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 557 of file pcbnew.py.

◆ __str__()

def pcbnew.wxRect.__str__ (   self)

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

◆ GetWidth()

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

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

◆ GetY()

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

Definition at line 510 of file pcbnew.py.

◆ SetHeight()

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

Definition at line 530 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 538 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 522 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 506 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 514 of file pcbnew.py.

Here is the caller graph for this function:

Member Data Documentation

◆ height

pcbnew.wxRect.height

Definition at line 552 of file pcbnew.py.

◆ width

pcbnew.wxRect.width

Definition at line 552 of file pcbnew.py.

◆ x

pcbnew.wxRect.x

Definition at line 552 of file pcbnew.py.

◆ y

pcbnew.wxRect.y

Definition at line 552 of file pcbnew.py.

Property Documentation

◆ height

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

Definition at line 544 of file pcbnew.py.

◆ thisown

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

Definition at line 489 of file pcbnew.py.

◆ width

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

Definition at line 543 of file pcbnew.py.

◆ x

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

Definition at line 541 of file pcbnew.py.

◆ y

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

Definition at line 542 of file pcbnew.py.


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