> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# PixelAspectRatio

The pixel aspect ratio (PAR) of the video.

Use the predefined constants for standard ratios, or {@link PixelAspectRatio.of} for
a custom ratio.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/shared.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/shared.ts#L100)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const pixelAspectRatio = medialive_alpha.PixelAspectRatio.of(123, 123);
```

## Properties

- `SQUARE`: [PixelAspectRatio](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.PixelAspectRatio.html) (static) — Square pixels (`1:1`).

## Methods

- `of(numerator: number, denominator: number): PixelAspectRatio // chainable` (static) — Define a pixel aspect ratio.

  **Parameters**

  - `numerator` — Numerator of the ratio.
  - `denominator` — Denominator of the ratio.

- `toString(): string` — Returns the string value in `numerator:denominator` form.
