DrawArc(pen, center, radius, startAngle, sweepAngle) DrawPie(pen, center, radius, startAngle, sweepAngle) DrawPie(pen, centerX, centerY, radius, startAngle, sweepAngle) DrawText(text, brush, font, centerX, centerY) SetViewport(leftWX, topWY, rightWX, bottomWY, maintainAspect) SetViewport(leftWX, topWY, rightWX, bottomWY, aspectXY) SetViewportHorz(worldLeft, worldRight, screenLeft, screenRight, maintainAspect) SetViewportVert(worldTop, worldBottom, screenTop, screenBottom, maintainAspect)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Method: void DrawLine(Pen, double, double, double, double)- Declared in: RT.Util.Drawing.Canvas
Declarationpublic void DrawLine(
Pen pen,
double x1,
double y1,
double x2,
double y2
) SummaryDraws a straight line using the specified pen. |