KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FAB_LAYER_COLOR Class Reference

#include <stackup_predefined_prms.h>

Public Member Functions

 FAB_LAYER_COLOR ()
 
 FAB_LAYER_COLOR (const wxString &aColorName, const wxColor &aColor)
 
const wxString & GetName () const
 
KIGFX::COLOR4D GetColor (BOARD_STACKUP_ITEM_TYPE aItemType) const
 
const wxString GetColorAsString () const
 

Private Attributes

wxString m_colorName
 
KIGFX::COLOR4D m_color
 

Detailed Description

Definition at line 72 of file stackup_predefined_prms.h.

Constructor & Destructor Documentation

◆ FAB_LAYER_COLOR() [1/2]

FAB_LAYER_COLOR::FAB_LAYER_COLOR ( )
inline

Definition at line 75 of file stackup_predefined_prms.h.

◆ FAB_LAYER_COLOR() [2/2]

FAB_LAYER_COLOR::FAB_LAYER_COLOR ( const wxString & aColorName,
const wxColor & aColor )
inline

Definition at line 78 of file stackup_predefined_prms.h.

References m_color, and m_colorName.

Member Function Documentation

◆ GetColor()

KIGFX::COLOR4D FAB_LAYER_COLOR::GetColor ( BOARD_STACKUP_ITEM_TYPE aItemType) const
inline

◆ GetColorAsString()

const wxString FAB_LAYER_COLOR::GetColorAsString ( ) const
Returns
a color name acceptable in gerber job file one of normalized color name, or the string R<integer>G<integer>B<integer> integer is a decimal value from 0 to 255

Definition at line 135 of file stackup_predefined_prms.cpp.

References IsColorNameNormalized(), m_color, and m_colorName.

◆ GetName()

const wxString & FAB_LAYER_COLOR::GetName ( ) const
inline

Definition at line 83 of file stackup_predefined_prms.h.

References m_colorName.

Member Data Documentation

◆ m_color

KIGFX::COLOR4D FAB_LAYER_COLOR::m_color
private

Definition at line 107 of file stackup_predefined_prms.h.

Referenced by FAB_LAYER_COLOR(), GetColor(), and GetColorAsString().

◆ m_colorName

wxString FAB_LAYER_COLOR::m_colorName
private

Definition at line 104 of file stackup_predefined_prms.h.

Referenced by FAB_LAYER_COLOR(), GetColorAsString(), and GetName().


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