OpenLexocad
28.0
|
A single line two-dimensional text. More...
#include <SingleLineText2d.h>
Public Member Functions | |
Base::String | getText () const |
void | setText (const Base::String &aValue) |
Draw::TextStyle | getTextStyle () const |
void | setTextStyle (const Draw::TextStyle &aValue) |
void | setColor (const Base::Color &color) const |
void | setFontBold (bool enable=true) const |
void | setFontItalic (bool enable=true) const |
void | setFontName (const std::string &family) const |
void | setFontSize (int pointSize) const |
void | setFontStretch (double factor) const |
void | setScale (double factor) const |
void | setText (const std::string &text) const |
~SingleLineText2d ()=default | |
![]() | |
virtual | ~Geometry (void) |
pShape | computeShape (bool checkShape=false) |
pConstShape | getShape (void) const |
double | getPrecision () const |
void | setPrecision (double p) |
Geom::Bnd_Box | getBoundingBox () const |
![]() | |
std::shared_ptr< Document > | getDocument () const |
bool | isNew () const |
bool | isUpdated () const |
bool | isValid () const |
bool | hasErrors () const |
void | touch () |
LxIfc4::LxIfc4EntityEnum | getEntityType () const |
std::string | getEntityTypeAsString () const |
std::shared_ptr< Core::DbgInfo > | getDbgInfo () const |
DocObject (Core::DocObject *aObject) | |
virtual | ~DocObject (void) |
Core::DocObject * | __getObj__ () const |
Additional Inherited Members | |
![]() | |
Geometry ()=default | |
![]() | |
DocObject () | |
![]() | |
Core::DocObject * | _coreObj = nullptr |
A single line two-dimensional text.
|
default |
Base::String OpenLxApp::SingleLineText2d::getText | ( | ) | const |
Draw::TextStyle OpenLxApp::SingleLineText2d::getTextStyle | ( | ) | const |
void OpenLxApp::SingleLineText2d::setColor | ( | const Base::Color & | color | ) | const |
void OpenLxApp::SingleLineText2d::setFontBold | ( | bool | enable = true | ) | const |
void OpenLxApp::SingleLineText2d::setFontItalic | ( | bool | enable = true | ) | const |
void OpenLxApp::SingleLineText2d::setFontName | ( | const std::string & | family | ) | const |
void OpenLxApp::SingleLineText2d::setFontSize | ( | int | pointSize | ) | const |
void OpenLxApp::SingleLineText2d::setFontStretch | ( | double | factor | ) | const |
void OpenLxApp::SingleLineText2d::setScale | ( | double | factor | ) | const |
void OpenLxApp::SingleLineText2d::setText | ( | const Base::String & | aValue | ) |
void OpenLxApp::SingleLineText2d::setText | ( | const std::string & | text | ) | const |
void OpenLxApp::SingleLineText2d::setTextStyle | ( | const Draw::TextStyle & | aValue | ) |