Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods

TRSGPCanvas.DrawLine(TPoint,TPoint,Single) Method

Scroll Prev Top Next More

Draws a line defined by two points on the current canvas.

DrawLine is implemented by the TCanvas descendants to draw a line defined by two points, with the current    Stroke.

The APt1 and APt2 parameters are the two TPointF values. These parameters specify the end points of the line to draw.

To customize the drawing pen, use the    Stroke or Pen properties.
 
 

Namespace: RSGdiPlusGraphics

Parameters

APt1

Type: TPoint

Specifies the start point of the line

APt2

Type: TPoint

Specifies the end point of the line

AOpacity

Type: Single

Specifies the transparency of the Stroke color.

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb