div-nine-patch-background

Image in 9-patch format (https://developer.android.com/studio/write/draw9patch).

Parameters

Parameters Description
image_url

string

Required parameter.

Image URL.

The value must be a valid URL.

Available platforms: Android, iOS, web.

insets

object

Required parameter.

Margins that break the image into parts using the same rules as the CSS border-image-slice property (https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice).

The value has the type div-absolute-edge-insets.

Available platforms: Android, iOS, web.

type

string

Required parameter.

The value must always be nine_patch_image.

Available platforms: Android, iOS, web.

JSON
{
  type*: "nine_patch_image",
  image_url*: "string",
  insets*: {
    bottom: "int",
    left: "int",
    right: "int",
    top: "int"
  }
}