[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'GraphUtil' (#lcl)

DrawArrow

Draws an arrow at the specified location on a canvas.

Declaration

Source position: graphutil.pp line 68

procedure DrawArrow(

  Canvas: TCanvas;

  Direction: TScrollDirection;

  Location: TPoint;

  Size: LongInt;

  ArrowType: TArrowType = atSolid

);

procedure DrawArrow(

  Canvas: TCanvas;

  p1: TPoint;

  p2: TPoint;

  ArrowType: TArrowType = atSolid

);

procedure DrawArrow(

  Canvas: TCanvas;

  p1: TPoint;

  p2: TPoint;

  ArrowLen: LongInt;

  ArrowAngleRad: float = NiceArrowAngle;

  ArrowType: TArrowType = atSolid

);

Arguments

Canvas

  

Canvas where the arrow is drawn.

Direction

  

Direction for the arrow.

Location

  

Point that indicates the canvas coordinates where the arrow is drawn.

ArrowType

  

Drawing style for the arrow.

Arguments

Canvas

  

Canvas where the arrow is drawn.

ArrowType

  

Drawing style for the arrow.

Arguments

Canvas

  

Canvas where the arrow is drawn.

ArrowType

  

Drawing style for the arrow.

Description

DrawArrow is an overloaded procedure used to draw an arrow on a canvas at the specified location. Overloaded variants of the routine allow the type of arrow, length, angle, and drawing style to be specified as arguments.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.