Class ClockRenderer
Inheritance
System.Object
ClockRenderer
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ClockRenderer : IClockRenderer
Constructors
ClockRenderer()
Declaration
public ClockRenderer()
Methods
DrawBackGroundImage(Graphics, Rectangle, Image)
Declaration
public void DrawBackGroundImage(Graphics g, Rectangle rect, Image image)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | rect | |
System.Drawing.Image | image |
DrawHourHand(Graphics, Int32, Single, Point, Color, DateTime)
Declaration
public void DrawHourHand(Graphics g, int length, float width, Point Center, Color color, DateTime dateTime)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Int32 | length | |
System.Single | width | |
System.Drawing.Point | Center | |
System.Drawing.Color | color | |
System.DateTime | dateTime |
DrawInterior(Graphics, Single, PointF, PointF, Color, String)
Declaration
public virtual void DrawInterior(Graphics g, float thickness, PointF startPoint, PointF endPoint, Color color, string sender)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Single | thickness | |
System.Drawing.PointF | startPoint | |
System.Drawing.PointF | endPoint | |
System.Drawing.Color | color | |
System.String | sender |
DrawMinuteHand(Graphics, Int32, Single, Point, Color, DateTime)
Declaration
public void DrawMinuteHand(Graphics g, int length, float width, Point Center, Color color, DateTime dateTime)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Int32 | length | |
System.Single | width | |
System.Drawing.Point | Center | |
System.Drawing.Color | color | |
System.DateTime | dateTime |
DrawMinutesLine(Graphics, Int32, Point, Color, Font, Single)
Declaration
public void DrawMinutesLine(Graphics g, int Radius, Point center, Color color, Font font, float thickness)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Int32 | Radius | |
System.Drawing.Point | center | |
System.Drawing.Color | color | |
System.Drawing.Font | font | |
System.Single | thickness |
DrawSecondHand(Graphics, Int32, Single, Point, Color, DateTime)
Declaration
public void DrawSecondHand(Graphics g, int length, float width, Point Center, Color color, DateTime dateTime)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Int32 | length | |
System.Single | width | |
System.Drawing.Point | Center | |
System.Drawing.Color | color | |
System.DateTime | dateTime |