AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
The Grid Node. -since R2015. 更多...
The Grid Node. -since R2015.
TODO:
ColorValue ^ AnyCAD::Platform::GridNode::GetCellColor | ( | ) |
Get large grid color
Vector2 ^ AnyCAD::Platform::GridNode::GetCellCount | ( | ) |
Get the count of each bigger cell.
Vector2 ^ AnyCAD::Platform::GridNode::GetCellSize | ( | ) |
Get the size of each bigger cell.
ColorValue ^ AnyCAD::Platform::GridNode::GetSubCellColor | ( | ) |
Get small grid color
Vector2 ^ AnyCAD::Platform::GridNode::GetSubCellCount | ( | ) |
Get the count of each sub cell.
Vector2 ^ AnyCAD::Platform::GridNode::GetSubCellSize | ( | ) |
Get the size of each sub cell.
void AnyCAD::Platform::GridNode::SetCellColor | ( | ColorValue^ | clr | ) |
Set the large grid color
clr | the ColorValue |
void AnyCAD::Platform::GridNode::SetCellCount | ( | int | cx, |
int | cy | ||
) |
Set the number of the bigger cells.
cx | count of direction X. |
cy | count of direction Y. |
void AnyCAD::Platform::GridNode::SetCellSize | ( | Vector2^ | cellSize | ) |
Set the size of each bigger cell.
cellSize | size of X and Y. |
void AnyCAD::Platform::GridNode::SetSubCellColor | ( | ColorValue^ | clr | ) |
Set the small grid color
clr | the ColorValue |
void AnyCAD::Platform::GridNode::SetSubCellCount | ( | int | cx, |
int | cy | ||
) |
Set the number of the smaller cells.
cx | size of X. |
cy | size of Y. |
void AnyCAD::Platform::GridNode::Update | ( | ) |
Apply the changes.