3 #ifndef _APIStyleElement_H_
4 #define _APIStyleElement_H_
10 namespace AnyCAD{
namespace API
31 void SetPointColor(
const ColorValue& _PointColor);
42 void SetPointSize(
float _PointSize);
47 float GetPointSize()
const;
53 void SetLineColor(
const ColorValue& _LineColor);
64 void SetLineWidth(
float _LineWidth);
69 float GetLineWidth()
const;
75 void SetPatternFactor(
float _PatternFactor);
80 float GetPatternFactor()
const;
86 void SetPatternStyle(
int _PatternStyle);
91 int GetPatternStyle()
const;
97 void SetFaceColor(
const ColorValue& _FaceColor);
108 void SetTransparent(
bool _Transparent);
113 bool GetTransparent()
const;
119 void SetMaterialName(
const String& _MaterialName);
124 String GetMaterialName()
const;
130 void SetTextureFile(
const Path& _TextureFile);
135 Path GetTextureFile()
const;
140 #endif //_APIStyleElement_H_
std::string String
Definition: APIString.h:10
The material element.
Definition: APIStyleElement.h:22
The base class for the data that need to be stored in document.
Definition: APIElement.h:22
TODO:
Definition: APIPath.h:16
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
Color Value.
Definition: APIMath.h:183