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

Public Attributes

 x
 
 y
 

Properties

property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
property x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=)
 
property y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=)
 

Detailed Description

Proxy of C++ wxPoint class.

Definition at line 625 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 633 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 641 of file pcbnew.py.

◆ __eq__()

def pcbnew.wxPoint.__eq__ (   self,
  other 
)

Definition at line 657 of file pcbnew.py.

◆ __getitem__()

def pcbnew.wxPoint.__getitem__ (   self,
  index 
)

Definition at line 662 of file pcbnew.py.

◆ __len__()

def pcbnew.wxPoint.__len__ (   self)

Definition at line 661 of file pcbnew.py.

◆ __ne__()

def pcbnew.wxPoint.__ne__ (   self,
  other 
)

Definition at line 658 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.wxPoint.__nonzero__ (   self)

Definition at line 670 of file pcbnew.py.

◆ __repr__()

def pcbnew.wxPoint.__repr__ (   self)

Definition at line 660 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 663 of file pcbnew.py.

◆ __str__()

def pcbnew.wxPoint.__str__ (   self)

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

◆ Get()

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

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

Member Data Documentation

◆ x

pcbnew.wxPoint.x

Definition at line 657 of file pcbnew.py.

◆ y

pcbnew.wxPoint.y

Definition at line 657 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 628 of file pcbnew.py.

◆ x

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

Definition at line 630 of file pcbnew.py.

◆ y

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

Definition at line 631 of file pcbnew.py.


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