The line/edge style. 更多...
#include <APILineStyle.h>
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 AnyCAD::API::LineStyle::GetPatternFactor | ( | ) | const |
Get Line pattern factor.
int AnyCAD::API::LineStyle::GetPatternStyle | ( | ) | const |
Get Line pattern.
void AnyCAD::API::LineStyle::SetLineWidth | ( | const float & | fWidth | ) |
Set Line Width
fWidth | the width |
void AnyCAD::API::LineStyle::SetPatternFactor | ( | const float & | patternFactor | ) |
Set Line pattern factor.
patternFactor | the pattern factor. |
void AnyCAD::API::LineStyle::SetPatternStyle | ( | int | style | ) |
Set Line pattern.
style | the style pattern. |