KiCAD pcbnew scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.COLORS_DESIGN_SETTINGS Class Reference
Inheritance diagram for pcbnew.COLORS_DESIGN_SETTINGS:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, aFrameType)
 
def Load (self, aConfig)
 
def Save (self, aConfig)
 
def GetLayerColor (self, aLayer)
 
def SetLayerColor (self, aLayer, aColor)
 
def GetItemColor (self, aItemIdx)
 
def SetItemColor (self, aItemIdx, aColor)
 
def SetAllColorsAs (self, aColor)
 
def SetLegacyMode (self, aMode)
 

Public Attributes

 this
 

Static Public Attributes

 m_LayersColors = _swig_property(_pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_get, _pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_set)
 

Detailed Description

Proxy of C++ COLORS_DESIGN_SETTINGS class.

Definition at line 2369 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.COLORS_DESIGN_SETTINGS.__init__ (   self,
  aFrameType 
)
__init__(COLORS_DESIGN_SETTINGS self, FRAME_T aFrameType) -> COLORS_DESIGN_SETTINGS

Definition at line 2382 of file pcbnew.py.

Member Function Documentation

def pcbnew.COLORS_DESIGN_SETTINGS.GetItemColor (   self,
  aItemIdx 
)
GetItemColor(COLORS_DESIGN_SETTINGS self, int aItemIdx) -> COLOR4D

Definition at line 2412 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.GetLayerColor (   self,
  aLayer 
)
GetLayerColor(COLORS_DESIGN_SETTINGS self, LAYER_NUM aLayer) -> COLOR4D

Definition at line 2402 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.Load (   self,
  aConfig 
)
Load(COLORS_DESIGN_SETTINGS self, wxConfigBase * aConfig)

Definition at line 2392 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.Save (   self,
  aConfig 
)
Save(COLORS_DESIGN_SETTINGS self, wxConfigBase * aConfig)

Definition at line 2397 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetAllColorsAs (   self,
  aColor 
)
SetAllColorsAs(COLORS_DESIGN_SETTINGS self, COLOR4D aColor)

Definition at line 2422 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetItemColor (   self,
  aItemIdx,
  aColor 
)
SetItemColor(COLORS_DESIGN_SETTINGS self, int aItemIdx, COLOR4D aColor)

Definition at line 2417 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetLayerColor (   self,
  aLayer,
  aColor 
)
SetLayerColor(COLORS_DESIGN_SETTINGS self, LAYER_NUM aLayer, COLOR4D aColor)

Definition at line 2407 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetLegacyMode (   self,
  aMode 
)
SetLegacyMode(COLORS_DESIGN_SETTINGS self, bool aMode)

Definition at line 2427 of file pcbnew.py.

Member Data Documentation

pcbnew.COLORS_DESIGN_SETTINGS.m_LayersColors = _swig_property(_pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_get, _pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_set)
static

Definition at line 2380 of file pcbnew.py.

pcbnew.COLORS_DESIGN_SETTINGS.this

Definition at line 2388 of file pcbnew.py.


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