AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::StyleElement类 参考

The material element. 更多...

#include <APIStyleElement.h>

类 AnyCAD::API::StyleElement 继承关系图:
AnyCAD::API::Element AnyCAD::API::Object

Public 成员函数

void SetPointColor (const ColorValue &_PointColor)
 
ColorValue GetPointColor () const
 
void SetPointSize (float _PointSize)
 
float GetPointSize () const
 
void SetLineColor (const ColorValue &_LineColor)
 
ColorValue GetLineColor () const
 
void SetLineWidth (float _LineWidth)
 
float GetLineWidth () const
 
void SetPatternFactor (float _PatternFactor)
 
float GetPatternFactor () const
 
void SetPatternStyle (int _PatternStyle)
 
int GetPatternStyle () const
 
void SetFaceColor (const ColorValue &_FaceColor)
 
ColorValue GetFaceColor () const
 
void SetTransparent (bool _Transparent)
 
bool GetTransparent () const
 
void SetMaterialName (const String &_MaterialName)
 
String GetMaterialName () const
 
void SetTextureFile (const Path &_TextureFile)
 
Path GetTextureFile () const
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The material element.

TODO:

成员函数说明

ColorValue AnyCAD::API::StyleElement::GetFaceColor ( ) const

Get FaceColor.

返回
the FaceColor.
ColorValue AnyCAD::API::StyleElement::GetLineColor ( ) const

Get LineColor.

返回
the LineColor.
float AnyCAD::API::StyleElement::GetLineWidth ( ) const

Get LineWidth.

返回
the LineWidth.
String AnyCAD::API::StyleElement::GetMaterialName ( ) const

Get MaterialName.

返回
the MaterialName.
float AnyCAD::API::StyleElement::GetPatternFactor ( ) const

Get PatternFactor.

返回
the PatternFactor.
int AnyCAD::API::StyleElement::GetPatternStyle ( ) const

Get PatternStyle.

返回
the PatternStyle.
ColorValue AnyCAD::API::StyleElement::GetPointColor ( ) const

Get PointColor.

返回
the PointColor.
float AnyCAD::API::StyleElement::GetPointSize ( ) const

Get PointSize.

返回
the PointSize.
Path AnyCAD::API::StyleElement::GetTextureFile ( ) const

Get TextureFile.

返回
the TextureFile.
bool AnyCAD::API::StyleElement::GetTransparent ( ) const

Get Transparent.

返回
the Transparent.
void AnyCAD::API::StyleElement::SetFaceColor ( const ColorValue _FaceColor)

Set the FaceColor.

参数
_FaceColorthe FaceColor.
void AnyCAD::API::StyleElement::SetLineColor ( const ColorValue _LineColor)

Set the LineColor.

参数
_LineColorthe LineColor.
void AnyCAD::API::StyleElement::SetLineWidth ( float  _LineWidth)

Set the LineWidth.

参数
_LineWidththe LineWidth.
void AnyCAD::API::StyleElement::SetMaterialName ( const String _MaterialName)

Set the MaterialName.

参数
_MaterialNamethe MaterialName.
void AnyCAD::API::StyleElement::SetPatternFactor ( float  _PatternFactor)

Set the PatternFactor.

参数
_PatternFactorthe PatternFactor.
void AnyCAD::API::StyleElement::SetPatternStyle ( int  _PatternStyle)

Set the PatternStyle.

参数
_PatternStylethe PatternStyle.
void AnyCAD::API::StyleElement::SetPointColor ( const ColorValue _PointColor)

Set the PointColor.

参数
_PointColorthe PointColor.
void AnyCAD::API::StyleElement::SetPointSize ( float  _PointSize)

Set the PointSize.

参数
_PointSizethe PointSize.
void AnyCAD::API::StyleElement::SetTextureFile ( const Path _TextureFile)

Set the TextureFile.

参数
_TextureFilethe TextureFile.
void AnyCAD::API::StyleElement::SetTransparent ( bool  _Transparent)

Set the Transparent.

参数
_Transparentthe Transparent.

该类的文档由以下文件生成: