---
title: "LineTo Method (Single, Single)"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Common_Math_Path_LineTo_2_427c5821.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Atoms .NET"
    versions: ["6.0.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# LineTo Method (Single, Single)

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Adds a line to the path.
 
**Namespace:** [Aurigma.DesignAtoms.Common.Math](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Common_Math.htm.md) 
 **Assembly:** Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
 
## Syntax
  
```csharp
public void LineTo(float x,float y
)
```
 
### Parameters
 
 - x
     - Type: System.Single
The x-coordinate of the line ending point.

 - y
     - Type: System.Single
The y-coordinate of the line ending point.
 
## Remarks
  
The starting point of the line is the last point in the path.
 
## See Also
  
### Reference
 
- [Path Class](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Common_Math_Path.htm.md)
- [LineTo Overload](https://customerscanvas.com/docs/cc6/O_T_Aurigma_DesignAtoms_Common_Math_Path_LineTo.htm.md)
- [Aurigma.DesignAtoms.Common.Math Namespace](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Common_Math.htm.md)
