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

Public Member Functions

def __init__ (self, *args)
 
def __add__ (self, pt)
 
def __sub__ (self, pt)
 
def Set (self, x, y)
 
def Get (self)
 
def __eq__ (self, other)
 
def __ne__ (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.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=)
 
 y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=)
 

Detailed Description

Proxy of C++ wxPoint class.

Definition at line 629 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.wxPoint.__init__ (   self,
args 
)
    __init__(wxPoint self, int xx, int yy) -> wxPoint
    __init__(wxPoint self, double xx, double yy) -> wxPoint

Definition at line 637 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __add__()

def pcbnew.wxPoint.__add__ (   self,
  pt 
)
__add__(wxPoint self, wxPoint pt) -> wxPoint

Definition at line 645 of file pcbnew.py.

◆ __eq__()

def pcbnew.wxPoint.__eq__ (   self,
  other 
)

Definition at line 661 of file pcbnew.py.

◆ __getitem__()

def pcbnew.wxPoint.__getitem__ (   self,
  index 
)

Definition at line 666 of file pcbnew.py.

◆ __len__()

def pcbnew.wxPoint.__len__ (   self)

Definition at line 665 of file pcbnew.py.

◆ __ne__()

def pcbnew.wxPoint.__ne__ (   self,
  other 
)

Definition at line 662 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.wxPoint.__nonzero__ (   self)

Definition at line 674 of file pcbnew.py.

◆ __repr__()

def pcbnew.wxPoint.__repr__ (   self)

Definition at line 664 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 667 of file pcbnew.py.

◆ __str__()

def pcbnew.wxPoint.__str__ (   self)

Definition at line 663 of file pcbnew.py.

Here is the caller graph for this function:

◆ __sub__()

def pcbnew.wxPoint.__sub__ (   self,
  pt 
)
__sub__(wxPoint self, wxPoint pt) -> wxPoint

Definition at line 649 of file pcbnew.py.

◆ Get()

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

Definition at line 657 of file pcbnew.py.

Here is the caller graph for this function:

◆ Set()

def pcbnew.wxPoint.Set (   self,
  x,
  y 
)
Set(wxPoint self, long x, long y)

Definition at line 653 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 632 of file pcbnew.py.

◆ x

pcbnew.wxPoint.x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=)
static

Definition at line 634 of file pcbnew.py.

◆ y

pcbnew.wxPoint.y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=)
static

Definition at line 635 of file pcbnew.py.


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