RTextData
Class in Entity Module
Header: #include <src/entity/RTextData.h>
Inherits: RTextBasedData
Description
Section titled “Description”Text entity data class.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.
Public Functions
Section titled “Public Functions”RTextData() |
|
RTextData(const RTextBasedData &data) |
|
RTextData(const RVector &position, const RVector &alignmentPoint, double textHeight, double textWidth, RS::VAlign verticalAlignment, RS::HAlign horizontalAlignment, RS::TextDrawingDirection drawingDirection, RS::TextLineSpacingStyle lineSpacingStyle, double lineSpacingFactor, const QString &text, const QString &fontName, bool bold, bool italic, double angle, bool simple) |
|
| virtual RS::EntityType | getType() const |
Protected Functions
Section titled “Protected Functions”RTextData(RDocument *document, const RTextData &data) |
Friends
Section titled “Friends”| class | RTextEntity |
Member Documentation
Section titled “Member Documentation”RTextData
Section titled “RTextData”RTextData::RTextData()All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
RTextData
Section titled “RTextData”RTextData::RTextData(const RTextBasedData &data)RTextData
Section titled “RTextData”RTextData::RTextData(const RVector &position, const RVector &alignmentPoint, double textHeight, double textWidth, RS::VAlign verticalAlignment, RS::HAlign horizontalAlignment, RS::TextDrawingDirection drawingDirection, RS::TextLineSpacingStyle lineSpacingStyle, double lineSpacingFactor, const QString &text, const QString &fontName, bool bold, bool italic, double angle, bool simple)getType
Section titled “getType”virtual RS::EntityType RTextData::getType() constvirtual inline const
Reimplemented from getType.
RTextData
Section titled “RTextData”RTextData::RTextData(RDocument *document, const RTextData &data)protected
RTextEntity
Section titled “RTextEntity”friend class RTextEntityprivate