# RectangleObjectToolOptions

## Content

# Type Alias: RectangleObjectToolOptions

```ts
type RectangleObjectToolOptions = object;
```

Default style options for Rectangle 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.

***

### fillColor?

```ts
optional fillColor: string;
```

Fill color.
Use `'transparent'` or a color with zero alpha for outline-only rectangles.
When omitted, falls back to [ToolsOptions.fillColor](ToolsOptions#fillcolor).

***

### borderRadius?

```ts
optional borderRadius: number;
```

Corner radius in pixels. Use `0` for sharp corners.
