Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ClockHand class.
 /// </summary>
 /// <param name="handStyle">The hand style for this item.</param>
 /// <param name="length">The length of this clock hand as a percentage value ranging from 0.0 to 1.0, with 1.0 being half the width/height of the bounding rectangle</param>
 /// <param name="width">The width of this clock hand as a percentage value ranging from 0.0 to 1.0, with 1.0 being half the width/height of the bounding rectangle.</param>
 public ClockHandStyleData(eHandStyles handStyle, float length, float width)
 {
     _DrawOverCap = false;
     _HandColor = new ColorData(eBrushTypes.Solid, Color.FromArgb(109, 127, 138), Color.FromArgb(109, 127, 138), Color.FromArgb(128, 109, 127, 138), 0.01f);
     _HandStyle = handStyle;
     _Length = length;
     _Width = width;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the ClockHand class.
 /// </summary>
 public ClockHandStyleData()
 {
     _DrawOverCap = false;
     _HandColor = new ColorData(eBrushTypes.Solid, Color.FromArgb(109, 127, 138), Color.FromArgb(109, 127, 138), Color.FromArgb(128, 109, 127, 138), 0.01f);
     _HandStyle = eHandStyles.Style1;
     _Length = 1.0f;
     _Width = 0.1f;
 }