Tutorial: Arrows draw in FireMonkey XE6 (Delphi XE6)

Опубликовано: 28 Апрель 2026
на канале: Quark Cube
6,386
43

DISCLAIMER: This video is boring to the average YouTube viewer.

We calculate the arrows from the given angle from P1 to P2. We extend this to 50 and have an axis in P2. We'll take it back. Calculate the angle wrong, to see what happens. With 0.9 or 0.1 percent of PI, we can define the direction of the arrow. We draw the arrows with background and border. The movement of the arrows is executed with the selected points. We show how to do it.

Keys: TRectangle, TSelectionPoint, Math, System.Math.Vectors, TPointF, TPolygon,Canvas.Stroke.Assign, Canvas.DrawLine, ArcTan2, Cos, Sin, PointF, cPI, SetLength, Canvas.FillPolygon, Canvas.DrawPolygon, Repaint, ParentBounds