LayerInfo holds properties for each layer.
More...
#include <Entities.h>
|
| LayerInfo () |
| Default constructor.
|
|
| LayerInfo (const QString &name, int color_index, const QColor &color, bool is_visible) |
| Initializing constructor a LayerInfo object.
|
|
|
QString | _name |
| NAme of the layer.
|
|
int | _colorIndex |
| AutoCAD Color Index (ACI).
|
|
QColor | _color |
| Qt color value of the index.
|
|
bool | _isVisible |
| Flag on the visibility of the layer.
|
|
LayerInfo holds properties for each layer.
◆ 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 |
Initializing constructor a LayerInfo object.
- Parameters
-
name | The name of the layer. |
color_index | The AutoCAD Color Index (ACI) of the layer. |
color | The QColor representation of the layer's color. |
is_visible | True if the layer is visible, false otherwise. |
◆ _color
QColor sf::dxf::LayerInfo::_color |
Qt color value of the index.
◆ _colorIndex
int sf::dxf::LayerInfo::_colorIndex |
AutoCAD Color Index (ACI).
◆ _isVisible
bool sf::dxf::LayerInfo::_isVisible |
Flag on the visibility of the layer.
◆ _name
QString sf::dxf::LayerInfo::_name |
The documentation for this struct was generated from the following file: