ACOP.NET API
Classes | Static Public Member Functions | List of all members
AcopShapeUtils Class Reference

Classes

class  RingSection
 

Static Public Member Functions

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...
 

Member Function Documentation

◆ 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
formthe form on which to draw
colorthe prefered line color
widththe prefered pen width
rectthe rectangle specifying the boundaries of the ellipse containing the arc
startAnglethe starting angle (degrees) from the x-axis to start of the arc
sweepAnglethe sweep angle (degrees) of the arc
taga 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
formthe form on which to draw
colorthe prefered line color
widththe prefered pen width
x1the x coordinate of the starting point
y1the y coordinate of the starting point
x2the x coordinate of the ending point
y2the y coordinate of the ending point
taga 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
formthe form on which to draw
colorthe prefered line color
widththe prefered pen width
p1the starting point
p2the ending point
taga 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
formthe form on which to draw
colorthe prefered line color
widththe prefered pen width
control1the control whose mid point gives the line start
control2the control whose mid point gives the line end
taga 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
formthe form on which to draw
colorthe prefered line color
widththe prefered pen width
pointsthe points defining the polygon vertices
taga tag name to identify this polygon shape

The documentation for this class was generated from the following file:

Datenschutzerklaerung   -   Data Privacy Policy
Generated for ACOP.NET API by  doxygen 1.5.8