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

The Text Node -since R2014UR1. 更多...

类 AnyCAD::Platform::TextNode 继承关系图:
AnyCAD::Platform::EntitySceneNode AnyCAD::Platform::SceneNode AnyCAD::Platform::Object

Public 成员函数

void SetText (String^ text)
 
String^ GetText ()
 
void SetPosition (Vector3^ pos)
 
Vector3GetPosition ()
 
void SetOffset (Vector2^ offset)
 
Vector2GetOffset ()
 
void SetTextColor (ColorValue^ clr)
 
ColorValueGetTextColor ()
 
void SetFontName (String^ fontName)
 
String^ GetFontName ()
 
- Public 成员函数 继承自 AnyCAD::Platform::EntitySceneNode
void SetEntity (RenderableEntity^ pEntity)
 
RenderableEntityGetEntity ()
 
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 Text Node -since R2014UR1.

TODO:

成员函数说明

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

Get font.

返回
the font name
Vector2 ^ AnyCAD::Platform::TextNode::GetOffset ( )

Get offset.

返回
the offset
Vector3 ^ AnyCAD::Platform::TextNode::GetPosition ( )

Get Position.

返回
the position
String ^ AnyCAD::Platform::TextNode::GetText ( )

Get Text.

返回
the text
ColorValue ^ AnyCAD::Platform::TextNode::GetTextColor ( )

Get the text color.

返回
the color
void AnyCAD::Platform::TextNode::SetFontName ( String^  fontName)

Set font.

参数
fontNamethe font name
void AnyCAD::Platform::TextNode::SetOffset ( Vector2 offset)

Set offset.

参数
offsetthe text offset
void AnyCAD::Platform::TextNode::SetPosition ( Vector3 pos)

Set Position.

参数
posthe text position
void AnyCAD::Platform::TextNode::SetText ( String^  text)

Set Text.

参数
textthe text string
void AnyCAD::Platform::TextNode::SetTextColor ( ColorValue clr)

Set Text Color.

参数
clrthe text color

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