Helpers.DrawArrow Method
This language is not supported or no code example is available.
Parameters
-
x
-
int
-
y
-
int
-
flip
-
bool
Return Value
GraphicsPath
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.
.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+