AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIText3dNode.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIText3dNode_H_
4 #define _APIText3dNode_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIGroupSceneNode.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public GroupSceneNode
21  {
23  public:
28  void SetText (const String& text) ;
33  void SetFontName (const String& fontName) ;
38  String GetFontName () const;
43  void SetFontSize (const Vector2& fontSize) ;
49  void SetFontSize (int width, int height) ;
54  Vector2 GetFontSize () const;
59  void SetLineSpace (int space) ;
64  int GetLineSpace () const;
69  void SetBuildSolid (bool bSolid) ;
74  bool IsBuildSolid () const;
79  void SetThickness (const float& thickness) ;
84  float GetThickness () const;
88  void Update () ;
89  };//Text3dNode;
90 }}//API
91 
92 #endif //_APIText3dNode_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
Point or vector.
Definition: APIMath.h:16
The 3d Text Node.
Definition: APIText3dNode.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
节点组。
Definition: APIGroupSceneNode.h:22