logo
VitNX3 Documentation

# Helpers.DrawArrow Method

Namespace: VitNX2.UI.ControlsV2.UiKit
Assembly: VitNX3 (in VitNX3.dll)
VB
C#
F#
C++
JScript
Copy

    public static GraphicsPath DrawArrow(
       int x,
       int y,
       bool flip
    )

    This language is not supported or no code example is available.

#### Parameters

x
  int

y
  int

flip
  bool

#### Return Value

GraphicsPath
Source code
VB
C#
F#
C++
JScript
Copy

    public static GraphicsPath DrawArrow(int x, int y, bool flip)
     {
         GraphicsPath graphicsPath = new GraphicsPath();
         int num = 12;
         int num2 = 6;
         if (flip)
         {
             graphicsPath.AddLine(x + 1, y,
                 x + num + 1, y);
             graphicsPath.AddLine(x + num, y,
                 x + num2,
                 y + num2 - 1);
         }
         else
         {
             graphicsPath.AddLine(x, y + num2,
                 x + num, y + num2);
             graphicsPath.AddLine(x + num,
                 y + num2,
                 x + num2, y);
         }
         graphicsPath.CloseFigure();
         return graphicsPath;
     }

    This language is not supported or no code example is available.

Applies to

#### .NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

#### .NET Core

Supported in: 5.0+, 6.0+
See Also
Helpers Class
VitNX2.UI.ControlsV2.UiKit Namespace