---
title: "ISelectionHandler | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/ISelectionHandler/"
---

# ISelectionHandler

> `RotatedRectangleF`[]

## Interfaces

### ISelectionHandler

#### Properties

##### currentItemHandler

```ts
currentItemHandler: BaseRectangleItemHandler;
```

##### isDragging

```ts
isDragging: boolean;
```

##### isIdle

```ts
isIdle: boolean;
```

##### isResizing

```ts
isResizing: boolean;
```

##### isRotating

```ts
isRotating: boolean;
```

##### manipulationPermissions

```ts
manipulationPermissions: ManipulationPermissions;
```

##### parentRectangle

```ts
parentRectangle: RotatedRectangleF;
```

##### rectangleSigns

```ts
rectangleSigns: RectangleSignsType;
```

##### resizeIndex?

```ts
optional resizeIndex?: number;
```

##### selectedItemHandlers

```ts
selectedItemHandlers: Collection<BaseRectangleItemHandler>;
```

##### visibleRectangle

```ts
visibleRectangle: RotatedRectangleF;
```

#### Methods

##### getHighlightRectangles()

```ts
getHighlightRectangles(): RotatedRectangleF[];
```

###### Returns

##### getSelectionDrawingParams()

```ts
getSelectionDrawingParams(): ISelectionOptions;
```

###### Returns

[`ISelectionOptions`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/ISelectionOptions.md#iselectionoptions)

## Type Aliases

### RectangleSignsType

```ts
type RectangleSignsType = object;
```

#### Properties

##### x

```ts
x: -1 | 1;
```

##### y

```ts
y: -1 | 1;
```
