ChartDirector 7.0 (PHP Edition)

phpchartdir.ArrowShape


Usage

ArrowShape([ angle [, widthRatio [, stemWidthRatio [, stemLengthRatio ]]]])

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.