Class NinePatchImage2DMetadata

Defines properties and message types for NinePatchImage2D.

Inherits properties and message types from Node2DMetadata.

Property Types

See also PropertyType
NinePatchImage2DMetadata.StretchTypeTopProperty

Sets how to display the top image:

  • Stretch: Scales the image to fill the space between the top-left and top-right images.
  • Wrap: When the width of the space between the top-left and top-right images exceeds the width of the image, either extends the last column of pixels in the image or tiles the image. Depends on the value of the Wrap Mode property of the texture.
NinePatchImage2DMetadata.StretchTypeBottomProperty

Sets how to display the bottom image:

  • Stretch: Scales the image to fill the space between the bottom-left and bottom-right images.
  • Wrap: When the width of the space between the bottom-left and bottom-right images exceeds the width of the image, either extends the last column of pixels in the image or tiles the image. Depends on the value of the Wrap Mode property of the texture.
NinePatchImage2DMetadata.StretchTypeLeftProperty

Sets how to display the left image:

  • Stretch: Scales the image to fill the space between the top-left and bottom-left images.
  • Wrap: When the height of the space between the top-left and bottom-left images exceeds the height of the image, either extends the last row of pixels in the image or tiles the image. Depends on the value of the Wrap Mode property of the texture.
NinePatchImage2DMetadata.StretchTypeRightProperty

Sets how to display the right image:

  • Stretch: Scales the image to fill the space between the top-right and bottom-right images.
  • Wrap: When the height of the space between the top-right and bottom-right images exceeds the height of the image, either extends the last row of pixels in the image or tiles the image. Depends on the value of the Wrap Mode property of the texture.
NinePatchImage2DMetadata.StretchTypeCenterProperty

Sets how to display the center image:

  • Stretch: Scales the image to fill the width and height of the center of the nine patch image.
  • Wrap: When the height and width of the center exceed the size of the image, either extends the last row or column of pixels in the image or tiles the image. Depends on the value of the Wrap Mode property of the texture.
NinePatchImage2DMetadata.ImageTopLeftProperty

The image to use in the top-left corner.

NinePatchImage2DMetadata.ImageTopProperty

The image to use in the middle of the top row.

NinePatchImage2DMetadata.ImageTopRightProperty

The image to use in the top-right corner.

NinePatchImage2DMetadata.ImageLeftProperty

The image to use in the center-left.

NinePatchImage2DMetadata.ImageCenterProperty

The image to use in the center.

NinePatchImage2DMetadata.ImageRightProperty

The image to use in the center-right.

NinePatchImage2DMetadata.ImageBottomLeftProperty

Image to use in the bottom-left corner.

NinePatchImage2DMetadata.ImageBottomProperty

The image to use in middle of the bottom row.

NinePatchImage2DMetadata.ImageBottomRightProperty

The image to use in the bottom-right corner.

Message Types

See also MessageType

Message Arguments

Message arguments classes define message arguments used for different message types. Each class defines a number of property types - arguments - together with getter and setter functions for them.