# LineObjectToolOptions

## Content

# Type Alias: LineObjectToolOptions

```ts
type LineObjectToolOptions = object;
```

Default style options for Line objects.

## Properties

### lineWidth?

```ts
optional lineWidth: number;
```

Stroke width in pixels.
When omitted, falls back to [ToolsOptions.lineWidth](ToolsOptions#linewidth).

***

### lineColor?

```ts
optional lineColor: string;
```

Stroke color.
When omitted, falls back to [ToolsOptions.lineColor](ToolsOptions#linecolor).

***

### opacity?

```ts
optional opacity: number;
```

Object opacity as a percentage (0–100).

***

### rotation?

```ts
optional rotation: number;
```

Object rotation in degrees.

***

### startCapStyle?

```ts
optional startCapStyle: LineCapStyle;
```

Cap style applied to the start endpoint of the line.

***

### endCapStyle?

```ts
optional endCapStyle: LineCapStyle;
```

Cap style applied to the end endpoint of the line.

***

### capSize?

```ts
optional capSize: number;
```

Size of the endpoint caps in pixels.

***

### capColor?

```ts
optional capColor: string;
```

Color of the endpoint caps.
When omitted, matches the line color.
