AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APITextNode.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APITextNode_H_
4 #define _APITextNode_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIEntitySceneNode.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public EntitySceneNode
21  {
23  public:
28  void SetText (const String& text) ;
33  String GetText () const;
38  void SetPosition (const Vector3& pos) ;
43  Vector3 GetPosition () const;
48  void SetOffset (const Vector2& offset) ;
53  Vector2 GetOffset () const;
58  void SetTextColor (const ColorValue& clr) ;
63  ColorValue GetTextColor () const;
68  void SetFontName (const String& fontName) ;
73  String GetFontName () const;
74  };//TextNode;
75 }}//API
76 
77 #endif //_APITextNode_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
Point or vector.
Definition: APIMath.h:16
EntitySceneNode.
Definition: APIEntitySceneNode.h:20
The Text Node -since R2014UR1.
Definition: APITextNode.h:19
Point or vector.
Definition: APIMath.h:37
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
Color Value.
Definition: APIMath.h:183