|
static void | DrawArc (Form form, Color color, int width, Rectangle rect, float startAngle, float sweepAngle, String tag) |
| Draws an arc on a Form More...
|
|
static void | DrawLine (Form form, Color color, int width, int x1, int y1, int x2, int y2, String tag) |
| Draws a line on a Form More...
|
|
static void | DrawLine (Form form, Color color, int width, Point p1, Point p2, String tag) |
| Draws a line on a Form More...
|
|
static void | DrawLine (Form form, Color color, int width, Control control1, Control control2, String tag) |
| Draws a line on a Form More...
|
|
static void | DrawPolygon (Form form, Color color, int width, Point[] points, String tag) |
| Draws a closed polygon on the form More...
|
|
◆ DrawArc()
static void DrawArc |
( |
Form |
form, |
|
|
Color |
color, |
|
|
int |
width, |
|
|
Rectangle |
rect, |
|
|
float |
startAngle, |
|
|
float |
sweepAngle, |
|
|
String |
tag |
|
) |
| |
|
inlinestatic |
Draws an arc on a Form
- Parameters
-
form | the form on which to draw |
color | the prefered line color |
width | the prefered pen width |
rect | the rectangle specifying the boundaries of the ellipse containing the arc |
startAngle | the starting angle (degrees) from the x-axis to start of the arc |
sweepAngle | the sweep angle (degrees) of the arc |
tag | a tag name to identify this arc |
◆ DrawLine() [1/3]
static void DrawLine |
( |
Form |
form, |
|
|
Color |
color, |
|
|
int |
width, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
String |
tag |
|
) |
| |
|
inlinestatic |
Draws a line on a Form
- Parameters
-
form | the form on which to draw |
color | the prefered line color |
width | the prefered pen width |
x1 | the x coordinate of the starting point |
y1 | the y coordinate of the starting point |
x2 | the x coordinate of the ending point |
y2 | the y coordinate of the ending point |
tag | a tag name to identify this line |
◆ DrawLine() [2/3]
static void DrawLine |
( |
Form |
form, |
|
|
Color |
color, |
|
|
int |
width, |
|
|
Point |
p1, |
|
|
Point |
p2, |
|
|
String |
tag |
|
) |
| |
|
inlinestatic |
Draws a line on a Form
- Parameters
-
form | the form on which to draw |
color | the prefered line color |
width | the prefered pen width |
p1 | the starting point |
p2 | the ending point |
tag | a tag name to identify this line |
◆ DrawLine() [3/3]
static void DrawLine |
( |
Form |
form, |
|
|
Color |
color, |
|
|
int |
width, |
|
|
Control |
control1, |
|
|
Control |
control2, |
|
|
String |
tag |
|
) |
| |
|
inlinestatic |
Draws a line on a Form
- Parameters
-
form | the form on which to draw |
color | the prefered line color |
width | the prefered pen width |
control1 | the control whose mid point gives the line start |
control2 | the control whose mid point gives the line end |
tag | a tag name to identify this line |
◆ DrawPolygon()
static void DrawPolygon |
( |
Form |
form, |
|
|
Color |
color, |
|
|
int |
width, |
|
|
Point [] |
points, |
|
|
String |
tag |
|
) |
| |
|
inlinestatic |
Draws a closed polygon on the form
- Parameters
-
form | the form on which to draw |
color | the prefered line color |
width | the prefered pen width |
points | the points defining the polygon vertices |
tag | a tag name to identify this polygon shape |
The documentation for this class was generated from the following file: