AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::Text3dNode类 参考

The 3d Text Node. 更多...

类 AnyCAD::Platform::Text3dNode 继承关系图:
AnyCAD::Platform::GroupSceneNode AnyCAD::Platform::SceneNode AnyCAD::Platform::Object

Public 成员函数

void SetText (String^ text)
 
void SetFontName (String^ fontName)
 
String^ GetFontName ()
 
void SetFontSize (Vector2^ fontSize)
 
void SetFontSize (int width, int height)
 
Vector2GetFontSize ()
 
void SetLineSpace (int space)
 
int GetLineSpace ()
 
void SetBuildSolid (bool bSolid)
 
bool IsBuildSolid ()
 
void SetThickness (float thickness)
 
float GetThickness ()
 
void Update ()
 
- Public 成员函数 继承自 AnyCAD::Platform::GroupSceneNode
void AddNode (SceneNode^ pNode)
 
void RemoveNode (ElementId^ nId)
 
SceneNodeFindNode (ElementId^ nId)
 
SceneNodeGetNodeByIndex (long idx)
 
SceneNodeIteratorNewSceneNodeIterator ()
 
long GetCount ()
 
void ClearAll ()
 
void SetAnimator (Animator^ pAnimator)
 
AnimatorGetAnimator ()
 
void ResetShapeFilter (int nFilter)
 
- Public 成员函数 继承自 AnyCAD::Platform::SceneNode
ElementIdGetId ()
 
void SetId (ElementId^ nId)
 
String^ GetName ()
 
void SetName (String^ name)
 
void SetVisible (bool bVisible)
 
bool IsVisible ()
 
bool IsPickable ()
 
void SetPickable (bool enabled)
 
bool IsFilterable ()
 
void SetFilterable (bool enabled)
 
bool IsFixedSize ()
 
void SetFixedSize (bool enabled)
 
void SetBBox (AABox^ bbox)
 
AABoxGetBBox ()
 
void SetTransform (Matrix4^ trf)
 
Matrix4GetTransform ()
 
void SetPointStyle (PointStyle^ pointStyle)
 
PointStyleGetPointStyle ()
 
void SetLineStyle (LineStyle^ lineStyle)
 
LineStyleGetLineStyle ()
 
void SetFaceStyle (FaceStyle^ faceStyle)
 
FaceStyleGetFaceStyle ()
 
void SetRenderOrder (int order)
 
int GetRenderOrder ()
 
void ResetShapeFilter (int nFilter)
 
- Public 成员函数 继承自 AnyCAD::Platform::Object
String^ GetObjectClassId ()
 
StringList^ ListParentClassIds ()
 

详细描述

The 3d Text Node.

TODO:

成员函数说明

String ^ AnyCAD::Platform::Text3dNode::GetFontName ( )

Get FontName.

返回
the FontName.
Vector2 ^ AnyCAD::Platform::Text3dNode::GetFontSize ( )

Get FontSize.

返回
the FontSize.
int AnyCAD::Platform::Text3dNode::GetLineSpace ( )

Get FontSize.

返回
the FontSize.
float AnyCAD::Platform::Text3dNode::GetThickness ( )

Get the thickness of the text.

返回
the thickness of the font.
bool AnyCAD::Platform::Text3dNode::IsBuildSolid ( )

If build the text as solid.

返回
true if solid.
void AnyCAD::Platform::Text3dNode::SetBuildSolid ( bool  bSolid)

Enabled to show as solid/face or outline.

参数
bSolidif true to show solid/face, otherwise shows as edge.
void AnyCAD::Platform::Text3dNode::SetFontName ( String^  fontName)

Set FontName.

参数
fontNamethe FontName.
void AnyCAD::Platform::Text3dNode::SetFontSize ( Vector2 fontSize)

Set FontSize.

参数
fontSizethe fontSize.
void AnyCAD::Platform::Text3dNode::SetFontSize ( int  width,
int  height 
)

Set FontSize.

参数
widththe width.
heightthe height
void AnyCAD::Platform::Text3dNode::SetLineSpace ( int  space)

Set the line spacing.

参数
spacethe line space.
void AnyCAD::Platform::Text3dNode::SetText ( String^  text)

Set Text.

参数
textthe text string
void AnyCAD::Platform::Text3dNode::SetThickness ( float  thickness)

Set the solid thickness.

参数
thicknessthe thickness of the solid. If <=0, shows as face.
void AnyCAD::Platform::Text3dNode::Update ( )

Update the node.


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