Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::dxf::LayerInfo Struct Reference

LayerInfo holds properties for each layer. More...

#include <Entities.h>

Public Member Functions

 LayerInfo ()
 
 LayerInfo (const QString &name, int color_index, const QColor &color, bool is_visible)
 Constructs a LayerInfo object.
 

Public Attributes

QString _name
 
int _colorIndex
 AutoCAD Color Index (ACI).
 
QColor _color
 
bool _isVisible
 

Detailed Description

LayerInfo holds properties for each layer.

Constructor & Destructor Documentation

◆ LayerInfo() [1/2]

sf::dxf::LayerInfo::LayerInfo ( )
inline

◆ LayerInfo() [2/2]

sf::dxf::LayerInfo::LayerInfo ( const QString &  name,
int  color_index,
const QColor &  color,
bool  is_visible 
)
inline

Constructs a LayerInfo object.

Parameters
nameThe name of the layer.
color_indexThe AutoCAD Color Index (ACI) of the layer.
colorThe QColor representation of the layer's color.
is_visibleTrue if the layer is visible, false otherwise.

Member Data Documentation

◆ _color

QColor sf::dxf::LayerInfo::_color

◆ _colorIndex

int sf::dxf::LayerInfo::_colorIndex

AutoCAD Color Index (ACI).

◆ _isVisible

bool sf::dxf::LayerInfo::_isVisible

◆ _name

QString sf::dxf::LayerInfo::_name

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