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

The line/edge style. 更多...

#include <APILineStyle.h>

类 AnyCAD::API::LineStyle 继承关系图:
AnyCAD::API::RenderStyle AnyCAD::API::Object

Public 成员函数

void SetLineWidth (const float &fWidth)
 
float GetLineWidth () const
 
void SetPatternFactor (const float &patternFactor)
 
float GetPatternFactor () const
 
void SetPatternStyle (int style)
 
int GetPatternStyle () const
 
- Public 成员函数 继承自 AnyCAD::API::RenderStyle
void SetColor (const ColorValue &clr)
 
void SetColor (int r, int g, int b)
 
ColorValue GetColor () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The line/edge style.

TODO:

成员函数说明

float AnyCAD::API::LineStyle::GetLineWidth ( ) const

Get Line Width

返回
float
float AnyCAD::API::LineStyle::GetPatternFactor ( ) const

Get Line pattern factor.

返回
the pattern factor.
int AnyCAD::API::LineStyle::GetPatternStyle ( ) const

Get Line pattern.

返回
the style pattern.
void AnyCAD::API::LineStyle::SetLineWidth ( const float &  fWidth)

Set Line Width

参数
fWidththe width
void AnyCAD::API::LineStyle::SetPatternFactor ( const float &  patternFactor)

Set Line pattern factor.

参数
patternFactorthe pattern factor.
void AnyCAD::API::LineStyle::SetPatternStyle ( int  style)

Set Line pattern.

参数
stylethe style pattern.

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