---
title: EmbedShapeUtil
status: published
category: editor
group: Class
author: api
date: 06/23/2023
order: 30
---Public Class
Table of Contents
- [Properties](#properties)
- [canEdit](#EmbedShapeUtil-canEdit-member)
- [canResize](#EmbedShapeUtil-canResize-member)
- [canUnmount](#EmbedShapeUtil-canUnmount-member)
- [hideSelectionBoundsBg](#EmbedShapeUtil-hideSelectionBoundsBg-member)
- [hideSelectionBoundsFg](#EmbedShapeUtil-hideSelectionBoundsFg-member)
- [isAspectRatioLocked](#EmbedShapeUtil-isAspectRatioLocked-member)
- [onResize](#EmbedShapeUtil-onResize-member)
- [type](#EmbedShapeUtil-type-member)
- [Methods](#methods)
- [component](#EmbedShapeUtil-component-member-1)
- [getDefaultProps](#EmbedShapeUtil-getDefaultProps-member-1)
- [indicator](#EmbedShapeUtil-indicator-member-1)
##### Signature
```ts
class EmbedShapeUtil extends BaseBoxShapeUtil {}
```
##### References
[BaseBoxShapeUtil](/gen/editor/BaseBoxShapeUtil-class), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
## Properties
### `canEdit` \{#EmbedShapeUtil-canEdit-member}
Public Property
##### Signature
```ts
canEdit: TLShapeUtilFlag
```
##### References
[TLShapeUtilFlag](/gen/editor/TLShapeUtilFlag-type), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `canResize` \{#EmbedShapeUtil-canResize-member}
Public Property
##### Signature
```ts
canResize: (shape: TLEmbedShape) => boolean
```
##### References
[TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `canUnmount` \{#EmbedShapeUtil-canUnmount-member}
Public Property
##### Signature
```ts
canUnmount: TLShapeUtilFlag
```
##### References
[TLShapeUtilFlag](/gen/editor/TLShapeUtilFlag-type), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `hideSelectionBoundsBg` \{#EmbedShapeUtil-hideSelectionBoundsBg-member}
Public Property
##### Signature
```ts
hideSelectionBoundsBg: TLShapeUtilFlag
```
##### References
[TLShapeUtilFlag](/gen/editor/TLShapeUtilFlag-type), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `hideSelectionBoundsFg` \{#EmbedShapeUtil-hideSelectionBoundsFg-member}
Public Property
##### Signature
```ts
hideSelectionBoundsFg: TLShapeUtilFlag
```
##### References
[TLShapeUtilFlag](/gen/editor/TLShapeUtilFlag-type), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `isAspectRatioLocked` \{#EmbedShapeUtil-isAspectRatioLocked-member}
Public Property
##### Signature
```ts
isAspectRatioLocked: TLShapeUtilFlag
```
##### References
[TLShapeUtilFlag](/gen/editor/TLShapeUtilFlag-type), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `onResize` \{#EmbedShapeUtil-onResize-member}
Public Property
##### Signature
```ts
onResize: TLOnResizeHandler
```
##### References
[TLOnResizeHandler](/gen/editor/TLOnResizeHandler-type), [TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `type` \{#EmbedShapeUtil-type-member}
Public Static Property
##### Signature
```ts
static type: 'embed'
```
---
## Methods
### `component()` \{#EmbedShapeUtil-component-member-1}
Public Method
##### Parameters
`shape`
```ts
TLEmbedShape
```
##### Returns
```ts
JSX.Element
```
##### References
[TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `getDefaultProps()` \{#EmbedShapeUtil-getDefaultProps-member-1}
Public Method
##### Parameters
None
##### Returns
```ts
TLEmbedShape['props']
```
##### References
[TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---
### `indicator()` \{#EmbedShapeUtil-indicator-member-1}
Public Method
##### Parameters
`shape`
```ts
TLEmbedShape
```
##### Returns
```ts
JSX.Element
```
##### References
[TLEmbedShape](/gen/tlschema/TLEmbedShape-type)
---