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

# SelectionHitTestManager

> [`SelectionHitTestManager`](#selectionhittestmanager)

## Classes

### SelectionHitTestManager

#### Constructors

##### Constructor

```ts
new SelectionHitTestManager(selectionHandler, hitTestManager): SelectionHitTestManager;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `selectionHandler` | [`SelectionHandler`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/SelectionHandler.md#selectionhandler) |
| `hitTestManager` | [`HitTestManager`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/HitTestManager.md#hittestmanager) |

###### Returns

#### Methods

##### hitTest()

```ts
hitTest(point): ISelectionHitTestResult;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `point` | `PointF` |

###### Returns

[`ISelectionHitTestResult`](#iselectionhittestresult)

## Interfaces

### ISelectionHitTestResult

#### Extends

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

#### Properties

##### arbitraryResize?

```ts
optional arbitraryResize?: boolean;
```

##### body?

```ts
optional body?: boolean;
```

###### Inherited from

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

##### cornerArbitraryResize?

```ts
optional cornerArbitraryResize?: boolean;
```

##### cornerProportionalResize?

```ts
optional cornerProportionalResize?: boolean;
```

##### drag?

```ts
optional drag?: boolean;
```

###### Inherited from

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

##### dragX?

```ts
optional dragX?: boolean;
```

###### Inherited from

[`IHitTestResult`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IHitTestResult.md#ihittestresult).[`dragX`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IHitTestResult.md#dragx)

##### dragY?

```ts
optional dragY?: boolean;
```

###### Inherited from

[`IHitTestResult`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IHitTestResult.md#ihittestresult).[`dragY`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IHitTestResult.md#dragy)

##### proportionalResize?

```ts
optional proportionalResize?: boolean;
```

##### resize?

```ts
optional resize?: boolean;
```

###### Inherited from

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

##### resizeIndex?

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

###### Inherited from

[`IHitTestResult`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IHitTestResult.md#ihittestresult).[`resizeIndex`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IHitTestResult.md#resizeindex)

##### rotate?

```ts
optional rotate?: boolean;
```

###### Inherited from

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

##### selection?

```ts
optional selection?: boolean;
```

###### Inherited from

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