<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Padding/PaddingConstructor4",
  "metadataVersion" : "0.1.0",
  "role" : "Constructor",
  "symbol" : {
    "kind" : "Constructor",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instctr/mapkit.Padding/PaddingConstructor4"
  },
  "title" : "new Padding(top, right, bottom)"
}
-->

# new Padding(top, right, bottom)

Creates a padding object and initializes it with the provided top, right, and bottom values.

```
constructor(top: number, right: number, bottom: number);
```

## Parameters

`top`

The top inset margin.

`right`

The right inset margin.

`bottom`

The bottom inset margin.

## Discussion

The framework sets the left side padding value to `0`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)