| Wall Clocks home
> Wall Clocks Info Center
> Animated Clock
Animated Clock
Click
here to see our selection of Animated Clock .

The
Shadow
A shadow is another ellipse and style, no clocks besides the animated
clock has this type of shadowing.
Things are drawn one on top of the other. Thus there is a particular
order of the vector graphics elements that go into the making of
the animated clock. So far these are:
The Numerals
The appearance of the text property of the picture object of the
animated clock is made to the text appearance used for each numeral
and each numeral is placed on top of the clock face. Therefore the
design of the animated clock appears after the face ellipse in
The Minute Hand
The Bounds and Angle are carefully chosen on the animated clock
to line the darker edge of the gradient upwards of the angle of
the Path. We want the minute hand of the animated clock to be the
bottom-most hand. It will follow directly after the numerals, and
will have its own style. A group of certain elements is being declared
in this process—one for each half of the minute hand.
Also note that in the making of the animated clock the entire group
uses a Transformation Reference to specify an absolute reference
point. This allows us to rotate the starting point of the minute
hand paths around the center of the clock.
The Hour Hand
The hour hand will be reflective of the minute hand—it is
a group of elements containing two Paths, one Path exists for each
side of the hour hand
The Second Hand
The second hand of an animated clock is simply a straight line,
thus the second hand is not as difficult and is designed as what
we call a PolyLine—with a start point and an end point.
Animating The Clock
The only thing left now is to make that animated clock function—you
know, tell the time! We need to do three things:
(These things are a bit technological to describe for you, unfortunately,
but there are definitely ways to find out—just ask a clockmaker
you know or do a little research yourself!):
1. Add an xmlns to the System.Windows.
2. Instantiate a Timer (the reason for the System.Windows.Forms
namespace):
3. Implement the event handler:
|