ChartDirector 7.1 (.NET Edition)

Chart.ArrowShape


Usage

[C#]public static int ArrowShape([ double angle [, double widthRatio [, double stemWidthRatio [, double stemLengthRatio ]]]]);
[VB]Public Shared Function ArrowShape([ angle As Double [, widthRatio As Double [, stemWidthRatio As Double [, stemLengthRatio As Double ]]]]) As Integer

Description

Gets the shape id that represents an arrow shape.

Please refer to Shape Specification for samples and more information on using shapes in ChartDirector.

Arguments

ArgumentDefaultDescription
angle0The clockwise angle of the arrow relative to the upward pointing position.
widthRatio1The width of the base of the arrow head as a ratio to the height of the entire arrow. Must be between 0 and 1.
stemWidthRatio0.5The width of the arrow stem as a ratio to the width of the base of the arrow head. Must be between 0 and 1.
stemLengthRatio0.5The length of the arrow stem as a ratio to the height of the entire arrow. Must be between 0 and 1.

Return Value

An integer shape id representing the arrow shape.