KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PADS_IO::GRAPHIC_LINE Struct Reference

A 2D graphic line/shape from the LINES section (type=LINES). More...

#include <pads_parser.h>

Public Attributes

std::string name
 Item name.
 
int layer = 0
 Layer number.
 
double width = 0.0
 Line width.
 
LINE_STYLE style = LINE_STYLE::SOLID
 Line style (solid, dashed, etc.)
 
bool closed = false
 True if shape is closed (polygon/circle)
 
bool filled = false
 True if shape should be filled.
 
std::vector< ARC_POINTpoints
 Shape vertices, may include arcs.
 
std::string reuse_instance
 Reuse block instance name (if member of reuse)
 

Detailed Description

A 2D graphic line/shape from the LINES section (type=LINES).

These are drawing items like polylines, polygons, and circles used for documentation, assembly drawings, or other non-electrical purposes.

Definition at line 532 of file pads_parser.h.

Member Data Documentation

◆ closed

bool PADS_IO::GRAPHIC_LINE::closed = false

True if shape is closed (polygon/circle)

Definition at line 538 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ filled

bool PADS_IO::GRAPHIC_LINE::filled = false

True if shape should be filled.

Definition at line 539 of file pads_parser.h.

◆ layer

int PADS_IO::GRAPHIC_LINE::layer = 0

Layer number.

Definition at line 535 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ name

std::string PADS_IO::GRAPHIC_LINE::name

Item name.

Definition at line 534 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ points

std::vector<ARC_POINT> PADS_IO::GRAPHIC_LINE::points

Shape vertices, may include arcs.

Definition at line 540 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ reuse_instance

std::string PADS_IO::GRAPHIC_LINE::reuse_instance

Reuse block instance name (if member of reuse)

Definition at line 541 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ style

LINE_STYLE PADS_IO::GRAPHIC_LINE::style = LINE_STYLE::SOLID

Line style (solid, dashed, etc.)

Definition at line 537 of file pads_parser.h.

◆ width

double PADS_IO::GRAPHIC_LINE::width = 0.0

Line width.

Definition at line 536 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().


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