SharpPlot Reference > SharpPlot Methods > SetArrowStyle Method

SharpPlot.SetArrowStyle Method

Set Arrow format given any of (Arrow size, sweep angle, fill pattern).

Positive size gives absolute arrow size in points, negative size gives proportion to line width, zero lets SharpPlot pick a good default.

Sweep angle is in degrees :

  • outward-pointing, inward-filled from 0 to 90 degrees
  • inward-pointing, outward-filled from 90 to 180 degrees
  • inward-pointing, inward-filled from -90 to 0 degrees
  • outward-pointing, outward-filled from -180 to -90 degrees


sp.SetArrowStyle(-3); // Arrow size is three times the pen width
sp.SetArrowStyle(6,-30); // Positive size is fixed in points - Negative angle for
inward arrow
sp.SetArrowStyle(12,30,FillStyle.Unfilled); // Size,angle,line-only


See also ...

Arrow Lines | SharpPlot Members

Send comments on this topic
© Dyalog Ltd 2016