API Documentation
Loading...
Searching...
No Matches
DXFAttributes Class Reference

DXF Style attributes that can be applied to CAD Entity objects. More...

#include <DXFAttributes.h>

Public Member Functions

const Stringblock () const
 
 DXFAttributes ()
 
 DXFAttributes (const String &layer, const RGBColor &color, int width, String linetype, double linetypeScale)
 
 DXFAttributes (String layer, const RGBColor &color, int width, String linetype, uint04 handle)
 
const RGBColorgetColor () const
 
const StringgetLayer () const
 
const StringgetLinetype () const
 
double getLinetypeScale () const
 
int getWidth () const
 
const Stringhandle () const
 
bool isInPaperSpace () const
 
bool operator!= (const DXFAttributes &attributes) const
 
bool operator== (const DXFAttributes &attributes) const
 
const Stringsection () const
 
void setBlock (const String &block)
 
void setColor (const RGBColor &color)
 
void setHandle (const String &h)
 
void setInPaperSpace (bool on)
 
void setLayer (const String &layer)
 
void setLinetype (const String &linetype)
 
void setLinetypeScale (double linetypeScale)
 
void setSection (const String &h)
 
void setWidth (int width)
 

Detailed Description

DXF Style attributes that can be applied to CAD Entity objects.


Constructor & Destructor Documentation

◆ DXFAttributes() [1/3]

DXFAttributes ( )
inline

◆ DXFAttributes() [2/3]

DXFAttributes ( const String & layer,
const RGBColor & color,
int width,
String linetype,
double linetypeScale )
inline

◆ DXFAttributes() [3/3]

DXFAttributes ( String layer,
const RGBColor & color,
int width,
String linetype,
uint04 handle )
inline

Member Function Documentation

◆ block()

const String & block ( ) const
inlinenodiscard

◆ getColor()

const RGBColor & getColor ( ) const
inline

◆ getLayer()

const String & getLayer ( ) const
inlinenodiscard

◆ getLinetype()

const String & getLinetype ( ) const
inline

◆ getLinetypeScale()

double getLinetypeScale ( ) const
inline

◆ getWidth()

int getWidth ( ) const
inline

◆ handle()

const String & handle ( ) const
inlinenodiscard

◆ isInPaperSpace()

bool isInPaperSpace ( ) const
inline

◆ operator!=()

bool operator!= ( const DXFAttributes & attributes) const
inline

◆ operator==()

bool operator== ( const DXFAttributes & attributes) const
inline

◆ section()

const String & section ( ) const
inline

◆ setBlock()

void setBlock ( const String & block)
inline

◆ setColor()

void setColor ( const RGBColor & color)
inline

◆ setHandle()

void setHandle ( const String & h)
inline

◆ setInPaperSpace()

void setInPaperSpace ( bool on)
inline

◆ setLayer()

void setLayer ( const String & layer)
inline

◆ setLinetype()

void setLinetype ( const String & linetype)
inline

◆ setLinetypeScale()

void setLinetypeScale ( double linetypeScale)
inline

◆ setSection()

void setSection ( const String & h)
inline

◆ setWidth()

void setWidth ( int width)
inline

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