The Grid Node. -since R2015. 更多...
#include <APIGridNode.h>
The Grid Node. -since R2015.
TODO:
ColorValue AnyCAD::API::GridNode::GetCellColor | ( | ) | const |
Get large grid color
Vector2 AnyCAD::API::GridNode::GetCellCount | ( | ) | const |
Get the count of each bigger cell.
Vector2 AnyCAD::API::GridNode::GetCellSize | ( | ) | const |
Get the size of each bigger cell.
ColorValue AnyCAD::API::GridNode::GetSubCellColor | ( | ) | const |
Get small grid color
Vector2 AnyCAD::API::GridNode::GetSubCellCount | ( | ) | const |
Get the count of each sub cell.
Vector2 AnyCAD::API::GridNode::GetSubCellSize | ( | ) | const |
Get the size of each sub cell.
|
virtual |
Set the large grid color
clr | the ColorValue |
void AnyCAD::API::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::API::GridNode::SetCellSize | ( | const Vector2 & | cellSize | ) |
Set the size of each bigger cell.
cellSize | size of X and Y. |
|
virtual |
Set the small grid color
clr | the ColorValue |
void AnyCAD::API::GridNode::SetSubCellCount | ( | int | cx, |
int | cy | ||
) |
Set the number of the smaller cells.
cx | size of X. |
cy | size of Y. |
|
virtual |
Apply the changes.