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

# ResizeGripsPermissions

> - [`IResizeGripsPermissions`](#iresizegripspermissions)
> - [`IEqualsReady`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Utils-2.md#iequalsready)

## Classes

### ResizeGripsPermissions

#### Implements

#### Constructors

##### Constructor

```ts
new ResizeGripsPermissions(
   proportional, 
   arbitrary, 
   arbitraryFirst?): ResizeGripsPermissions;
```

###### Parameters

| Parameter | Type | Default value |
| ------ | ------ | ------ |
| `proportional` | `boolean` | `undefined` |
| `arbitrary` | `boolean` | `undefined` |
| `arbitraryFirst` | `boolean` | `true` |

###### Returns

[`ResizeGripsPermissions`](#resizegripspermissions)

#### Properties

##### propertyChanged

```ts
propertyChanged: EventObject<unknown>;
```

##### type

```ts
type: string = ResizeGripsPermissions.type;
```

##### arbitrary

```ts
static arbitrary: "Arbitrary" = "Arbitrary";
```

##### proportional

```ts
static proportional: "Proportional" = "Proportional";
```

##### type

```ts
static type: string = "ResizeGripsPermissions";
```

#### Accessors

##### corner

###### Get Signature

```ts
get corner(): ResizeGripsCorner[];
```

###### Returns

[`ResizeGripsCorner`](#resizegripscorner)[]

###### Set Signature

```ts
set corner(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | [`ResizeGripsCorner`](#resizegripscorner)[] |

###### Returns

`void`

###### Implementation of

[`IResizeGripsPermissions`](#iresizegripspermissions).[`corner`](#corner-1)

##### data

###### Get Signature

```ts
get data(): object;
```

###### Returns

`object`

###### Corner

```ts
Corner: ResizeGripsCorner[];
```

###### Edge

```ts
Edge: boolean;
```

##### edge

###### Get Signature

```ts
get edge(): boolean;
```

###### Returns

`boolean`

###### Set Signature

```ts
set edge(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `boolean` |

###### Returns

`void`

###### Implementation of

[`IResizeGripsPermissions`](#iresizegripspermissions).[`edge`](#edge-1)

##### edgeConstraint

###### Set Signature

```ts
set edgeConstraint(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `boolean` |

###### Returns

`void`

#### Methods

##### clone()

```ts
clone(): ResizeGripsPermissions;
```

###### Returns

[`ResizeGripsPermissions`](#resizegripspermissions)

##### equals()

```ts
equals(p): any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `p` | [`ResizeGripsPermissions`](#resizegripspermissions) |

###### Returns

`any`

###### Implementation of

[`IEqualsReady`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Utils-2.md#iequalsready).[`equals`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Utils-2.md#equals)

##### getCornerArbitrary()

```ts
getCornerArbitrary(): boolean;
```

###### Returns

`boolean`

##### getCornerProportional()

```ts
getCornerProportional(): boolean;
```

###### Returns

`boolean`

##### getSimplifiedObject()

```ts
getSimplifiedObject(): Object;
```

###### Returns

`Object`

##### setCornerArbitrary()

```ts
setCornerArbitrary(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `boolean` |

###### Returns

`void`

##### setCornerArbitraryConstraint()

```ts
setCornerArbitraryConstraint(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `boolean` |

###### Returns

`void`

##### setCornerProportional()

```ts
setCornerProportional(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `boolean` |

###### Returns

`void`

##### fromData()

```ts
static fromData(data?): ResizeGripsPermissions;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `data?` | \{ `Corner`: [`ResizeGripsCorner`](#resizegripscorner)[]; `Edge`: `boolean`; \} |
| `data.Corner?` | [`ResizeGripsCorner`](#resizegripscorner)[] |
| `data.Edge?` | `boolean` |

###### Returns

[`ResizeGripsPermissions`](#resizegripspermissions)

## Interfaces

### IResizeGripsPermissions

#### Properties

##### corner

```ts
corner: string[];
```

##### edge

```ts
edge: boolean;
```

## Type Aliases

### ArbitraryCorner

```ts
type ArbitraryCorner = "Arbitrary";
```

***

### ProportionalCorner

```ts
type ProportionalCorner = "Proportional";
```

***

### ResizeGripsCorner

```ts
type ResizeGripsCorner = 
  | ArbitraryCorner
  | ProportionalCorner;
```
