LitDev.LDFigures.AddLineArrow C# (CSharp) Method

AddLineArrow() public static method

Add a line arrow shape.
public static AddLineArrow ( Primitive width, Primitive height, Primitive size, Primitive bend, Primitive startArrow, Primitive endArrow, Primitive startCorner ) : Primitive
width Primitive The width of the shape.
height Primitive The height of the shape.
size Primitive The size of the arrow head in pixels.
bend Primitive The arrow bend amount (e.g. 0 is straight, 0.5 is smoothly bending).
startArrow Primitive The start arrow type: "None", "Arrow", "Open", "Oval" or "Stealth".
endArrow Primitive The end arrow type: "None", "Arrow", "Open", "Oval" or "Stealth".
startCorner Primitive The start corner position: "BottomLeft", "BottomRight", "TopLeft" or "TopRight". The arrow will terminate in the opposite corner.
return Primitive
        public static Primitive AddLineArrow(Primitive width, Primitive height, Primitive size, Primitive bend, Primitive startArrow, Primitive endArrow, Primitive startCorner)
        {
            return AddFigure(eFigure.LINEARROW, width, height, new Primitive[] { size, bend, startArrow, endArrow, startCorner });
        }