Class NinePatchImage2D

Class Hierarchy
  • KanziObject
  •  └─ Node
  •        └─ Node2D
  •              └─ NinePatchImage2D

A nine-patch image is a 3x3 grid of images. The center image is framed by the other images which all stretch according to the layout size.

Inherits properties and message types from NinePatchImage2DMetadata.

Synopsis

Methods
create()

Creates a 9-patch layer

NinePatchImage2D.NinePatchImage2D:create(name)

Creates a 9-patch layer.

Parameters
name (string)

Name of the nine patch image.