SharpLeaf Reference > SharpLeaf Methods > DrawArrow Method SharpLeaf.DrawArrow Method
Low-level routine to draw an arrow with specified parameters.
Overloads
- public void DrawArrow(double xfrom,double yfrom,double xto,double yto);
- public void DrawArrow(double xfrom,double yfrom,double xto,double yto,double width);
- public void DrawArrow(double xfrom,double yfrom,double xto,double yto,double width,Color color);
- public void DrawArrow(double xfrom,double yfrom,double xto,double yto,double width,Color color,LineStyle linestyle);
- public void DrawArrow(double xfrom,double yfrom,double xto,double yto,double width,Color color,LineStyle linestyle,bool begin,bool end,double size,double angle);
Example
// Draw an 2-point thick, 1-inch long, downwards blue arrow on the left of frame
// gutter from current Y position
x = lf.FrameLeft - 5;
y = lf.YPosition;
lf.DrawArrow(x,y,x,y + 72,2,Color.Navy);
See also ...SharpLeaf Members
Send comments on this topic © Dyalog Ltd 2021
|