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

Public Member Functions

 __init__ (self, *args)
 
 Get (self)
 
 SetWidth (self, w)
 
 SetHeight (self, h)
 
 GetWidth (self)
 
 GetHeight (self)
 
 Scale (self, xscale, yscale)
 
 __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.wxSize_x_get, _pcbnew.wxSize_x_set, doc=)
 
 y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=)
 

Detailed Description

Proxy of C++ wxSize class.

Definition at line 577 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.wxSize.__init__ ( self,
* args )
    __init__(wxSize self, int xx, int yy) -> wxSize
    __init__(wxSize self, double xx, double yy) -> wxSize

Definition at line 585 of file pcbnew.py.

Member Function Documentation

◆ __eq__()

pcbnew.wxSize.__eq__ ( self,
other )

Definition at line 615 of file pcbnew.py.

◆ __getitem__()

pcbnew.wxSize.__getitem__ ( self,
index )

Definition at line 620 of file pcbnew.py.

◆ __len__()

pcbnew.wxSize.__len__ ( self)

Definition at line 619 of file pcbnew.py.

◆ __nonzero__()

pcbnew.wxSize.__nonzero__ ( self)

Definition at line 625 of file pcbnew.py.

◆ __repr__()

pcbnew.wxSize.__repr__ ( self)

Definition at line 618 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 621 of file pcbnew.py.

◆ __str__()

pcbnew.wxSize.__str__ ( self)

Definition at line 617 of file pcbnew.py.

◆ Get()

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

Definition at line 592 of file pcbnew.py.

◆ GetHeight()

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

Definition at line 609 of file pcbnew.py.

◆ GetWidth()

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

Definition at line 605 of file pcbnew.py.

◆ Scale()

pcbnew.wxSize.Scale ( self,
xscale,
yscale )

Definition at line 613 of file pcbnew.py.

◆ SetHeight()

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

Definition at line 601 of file pcbnew.py.

◆ SetWidth()

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

Definition at line 597 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 580 of file pcbnew.py.

◆ x

pcbnew.wxSize.x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=)
static

Definition at line 582 of file pcbnew.py.

◆ y

pcbnew.wxSize.y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=)
static

Definition at line 583 of file pcbnew.py.


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