---
title: "Class RenderingConfig.BorderLine | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.BorderLine/"
---

# Class RenderingConfig.BorderLine

> **Inheritance:** `System.Object` -> RenderingConfig.BorderLine

###### **Namespace**: [Aurigma.DesignAtoms.Configuration.RenderingConfig](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig.md)

###### **Assembly**: Aurigma.DesignAtoms.Model.dll

```csharp title="Syntax"
public class BorderLine
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### BorderLine

```csharp
public BorderLine()
```

### BorderLine

```csharp
public BorderLine(string name, RgbColor color, RgbColor altColor, float widthPx, float stepPx, BorderLineMarginType borderLineMarginType)
```

## Methods

### Clone

```csharp
public virtual RenderingConfig.BorderLine Clone()
```

##### Returns

[Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig.BorderLine](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.BorderLine.md)

### CloneCore

```csharp
protected virtual RenderingConfig.BorderLine CloneCore()
```

##### Returns

[Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig.BorderLine](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.BorderLine.md)

### Equals

```csharp
protected bool Equals(RenderingConfig.BorderLine other)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig.BorderLine](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.BorderLine.md) | *other* |  |

##### Returns

`System.Boolean`

### Equals

```csharp
public override bool Equals(object obj)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Object` | *obj* |  |

##### Returns

`System.Boolean`

##### Overrides

* `System.Object.Equals(System.Object)`

### GetHashCode

```csharp
public override int GetHashCode()
```

##### Returns

`System.Int32`

##### Overrides

* `System.Object.GetHashCode`

### GetDefault

```csharp
public static RenderingConfig.BorderLine GetDefault(BorderLineMarginType borderLineMarginType = BorderLineMarginType.Trim)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Configuration.RenderingConfig.BorderLineMarginType](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Configuration.RenderingConfig/BorderLineMarginType.md) | *borderLineMarginType* |  |

##### Returns

[Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig.BorderLine](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.BorderLine.md)

### GetDashedDefault

```csharp
public static RenderingConfig.BorderLine GetDashedDefault(BorderLineMarginType borderLineMarginType = BorderLineMarginType.Trim)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Configuration.RenderingConfig.BorderLineMarginType](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Configuration.RenderingConfig/BorderLineMarginType.md) | *borderLineMarginType* |  |

##### Returns

[Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig.BorderLine](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.RenderingConfig/RenderingConfig.BorderLine.md)

## Fields

### Name

```csharp
public string Name
```

### Color

```csharp
public RgbColor Color
```

### AltColor

```csharp
public RgbColor AltColor
```

### StepPx

```csharp
public float StepPx
```

### WidthPx

```csharp
public float WidthPx
```

### MarginType

```csharp
public BorderLineMarginType MarginType
```
