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

Public Member Functions

def __init__ (self, "SHAPE_TYPE" aType)
 
"SHAPE_TYPE" Type (self)
 
"wxString" TypeName (self)
 
"bool" HasIndexableSubshapes (self)
 
"size_t" GetIndexableSubshapeCount (self)
 
"void" GetIndexableSubshapes (self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes)
 

Properties

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

Detailed Description

Proxy of C++ SHAPE_BASE class.

Definition at line 4197 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.SHAPE_BASE.__init__ (   self,
"SHAPE_TYPE"  aType 
)
__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE

Reimplemented in pcbnew.SHAPE_LINE_CHAIN, pcbnew.SHAPE_POLY_SET, pcbnew.SHAPE, and pcbnew.SHAPE_LINE_CHAIN_BASE.

Definition at line 4203 of file pcbnew.py.

Member Function Documentation

◆ GetIndexableSubshapeCount()

"size_t" pcbnew.SHAPE_BASE.GetIndexableSubshapeCount (   self)
GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t

Reimplemented in pcbnew.SHAPE_POLY_SET.

Definition at line 4220 of file pcbnew.py.

◆ GetIndexableSubshapes()

"void" pcbnew.SHAPE_BASE.GetIndexableSubshapes (   self,
"std::vector< SHAPE *,std::allocator< SHAPE * > > &"  aSubshapes 
)
GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE *,std::allocator< SHAPE * > > & aSubshapes)

Reimplemented in pcbnew.SHAPE_POLY_SET.

Definition at line 4224 of file pcbnew.py.

◆ HasIndexableSubshapes()

"bool" pcbnew.SHAPE_BASE.HasIndexableSubshapes (   self)
HasIndexableSubshapes(SHAPE_BASE self) -> bool

Reimplemented in pcbnew.SHAPE_POLY_SET.

Definition at line 4216 of file pcbnew.py.

◆ Type()

"SHAPE_TYPE" pcbnew.SHAPE_BASE.Type (   self)
Type(SHAPE_BASE self) -> SHAPE_TYPE

Definition at line 4208 of file pcbnew.py.

◆ TypeName()

"wxString" pcbnew.SHAPE_BASE.TypeName (   self)
TypeName(SHAPE_BASE self) -> wxString

Definition at line 4212 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 4200 of file pcbnew.py.


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