DrawArrow(TCanvas,TCanvasPixel,TCanvasPixel,TCanvasPixel,TCanvasPixel,TCanvasPixel,String,TArrowOptions,TCanvasPixel,Single) Method |
Scroll Prev Top Next More |
Draws a line segment with an arrow heads.
Namespace: RSGraphics
Delphi |
procedure DrawArrow(const Canvas: TCanvas; |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
x1
Type: System.Void
X-coordinate of starting point of line segment
y1
Type: System.Void
Y-coordinate of starting point of line segment
x2
Type: System.Void
X-coordinate of ending point of line segment
y2
Type: System.Void
Y-coordinate of ending point of line segment
HeadLength
Type: System.Void
Size in pixels of the arrow head
Caption
Type: String
Text string to label the arrow with
Options
Type: TArrowOptions
Options for drawing arrow heads and caption
Width
Type: System.Void
Width of line
Opacity
Type: Single
Transparency of the arrow (FMX only)
FontColor
Color of the caption (FMX only)
Reference•DrawArrow(TCanvas,TPoints,TCanvasPixel,string,TArrowOptions,TCanvasPixel,TCanvasPixel,Single) •DrawArrow(TCanvas,TRSPoints,TCanvasPixel,string,TArrowOptions,TCanvasPixel,TCanvasPixel,Single) •RSGraphics.DrawShape(TCanvas,TCanvasRect,TRSShapeType,TRSShapeOrientation,Boolean,TCanvasPixel) •RSGraphics.DrawDonutSlice(TCanvas,TCanvasRect,Double,Double,Integer,Double,Double,Single) •RSGraphics.DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Double,Integer,Single) •RSGraphics.DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Integer,Single) |