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

A clone of IMPORTED_STROKE, but with floating-point width. More...

#include <graphics_importer.h>

Public Member Functions

 IMPORTED_STROKE (double aWidth=0, LINE_STYLE aPlotStyle=LINE_STYLE::DEFAULT, const KIGFX::COLOR4D &aColor=KIGFX::COLOR4D::UNSPECIFIED)
 
double GetWidth () const
 
void SetWidth (double aWidth)
 
LINE_STYLE GetPlotStyle () const
 
void SetPlotStyle (LINE_STYLE aPlotStyle)
 
KIGFX::COLOR4D GetColor () const
 
void SetColor (const KIGFX::COLOR4D &aColor)
 

Private Attributes

double m_width
 
LINE_STYLE m_plotstyle
 
KIGFX::COLOR4D m_color
 

Detailed Description

A clone of IMPORTED_STROKE, but with floating-point width.

Definition at line 47 of file graphics_importer.h.

Constructor & Destructor Documentation

◆ IMPORTED_STROKE()

IMPORTED_STROKE::IMPORTED_STROKE ( double  aWidth = 0,
LINE_STYLE  aPlotStyle = LINE_STYLE::DEFAULT,
const KIGFX::COLOR4D aColor = KIGFX::COLOR4D::UNSPECIFIED 
)
inline

Definition at line 50 of file graphics_importer.h.

Member Function Documentation

◆ GetColor()

◆ GetPlotStyle()

LINE_STYLE IMPORTED_STROKE::GetPlotStyle ( ) const
inline

◆ GetWidth()

◆ SetColor()

void IMPORTED_STROKE::SetColor ( const KIGFX::COLOR4D aColor)
inline

Definition at line 64 of file graphics_importer.h.

References m_color.

◆ SetPlotStyle()

void IMPORTED_STROKE::SetPlotStyle ( LINE_STYLE  aPlotStyle)
inline

Definition at line 61 of file graphics_importer.h.

References m_plotstyle.

◆ SetWidth()

void IMPORTED_STROKE::SetWidth ( double  aWidth)
inline

Definition at line 58 of file graphics_importer.h.

References m_width.

Member Data Documentation

◆ m_color

KIGFX::COLOR4D IMPORTED_STROKE::m_color
private

Definition at line 69 of file graphics_importer.h.

Referenced by GetColor(), and SetColor().

◆ m_plotstyle

LINE_STYLE IMPORTED_STROKE::m_plotstyle
private

Definition at line 68 of file graphics_importer.h.

Referenced by GetPlotStyle(), and SetPlotStyle().

◆ m_width

double IMPORTED_STROKE::m_width
private

Definition at line 67 of file graphics_importer.h.

Referenced by GetWidth(), and SetWidth().


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