public DenavitHartenbergViewer(int width, int height)
{
// Setting the default parameters
BackColor = Color.Black;
LinksColor = Color.Green;
JointsColor = Color.Red;
BaseJointColor = Color.Gold;
EndJointColor = Color.Blue;
Scale = 1;
JointRadius = 8;
ArrowsBoundingBox = new Rectangle(10, height - 50 - 10, 50, 50);
// Creating the bitmap and graphics
xy = new Bitmap(width, height);
yz = new Bitmap(width, height);
xz = new Bitmap(width, height);
gxy = Graphics.FromImage(xy);
gyz = Graphics.FromImage(yz);
gxz = Graphics.FromImage(xz);
}