Interface ILine
The Line object type for the shape drawing fluent interface A line can be converted into an arrow The fluent type interface is designed for simple, rapid, iterative shape drawing
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public interface ILine : IShape
Methods
Arrow(Single, Single)
Convert line into an Arrow
Declaration
IShape Arrow(float headWidth, float headLength)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | headWidth | Width of head at widest point |
| System.Single | headLength | Length of arrow head (assuming total line length has room, if not it is reduced |
Returns
| Type | Description |
|---|---|
| IShape |