Class ClockRenderer
Inheritance
System.Object
ClockRenderer
Assembly: Syncfusion.Tools.Windows.dll
public class ClockRenderer : Object, IClockRenderer
Constructors
Declaration
Methods
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Implements