AGENT.Contrib.Drawing.Drawing.PaintHands C# (CSharp) Method

PaintHands() public method

Paint all hands, a 0 width will not force the hand to not print.
public PaintHands ( Microsoft.SPOT.Bitmap screen, System.Color foreColor, int hourWidth, int minuteWidth, int secondWidth, int hour, int minute, int second ) : void
screen Microsoft.SPOT.Bitmap
foreColor System.Color
hourWidth int
minuteWidth int
secondWidth int
hour int
minute int
second int
return void
        public void PaintHands(Bitmap screen, Color foreColor, int hourWidth, int minuteWidth, int secondWidth, int hour,
                               int minute, int second)
        {
            if (hourWidth > 0) PaintHourHand(screen, foreColor, hourWidth, hour, minute);
            if (minuteWidth > 0) PaintMinuteHand(screen, foreColor, minuteWidth, minute, second);
            if (secondWidth > 0) PaintSecondHand(screen, foreColor, secondWidth, second);

            screen.DrawEllipse(foreColor, 1, AGENT.Contrib.Device.Center.X, AGENT.Contrib.Device.Center.Y, 3, 3, Color.White, 0, 0, Color.White, 0, 0,
                               255);
            screen.DrawEllipse(foreColor, 1, AGENT.Contrib.Device.Center.X, AGENT.Contrib.Device.Center.Y, 2, 2, Color.Black, 0, 0, Color.White, 0, 0,
                               255);

        }