Kanzi 4.1.1
NinePatchImage2DMetadata Interface Reference

Metadata definitions for NinePatchImage2D. More...

Inheritance diagram for NinePatchImage2DMetadata:
[legend]

Public Attributes

DynamicPropertyType< ResourceImageBottomLeftProperty
 Image to use in the bottom-left corner.
 
DynamicPropertyType< ResourceImageBottomProperty
 The image to use in middle of the bottom row.
 
DynamicPropertyType< ResourceImageBottomRightProperty
 The image to use in the bottom-right corner.
 
DynamicPropertyType< ResourceImageCenterProperty
 The image to use in the center.
 
DynamicPropertyType< ResourceImageLeftProperty
 The image to use in the center-left.
 
DynamicPropertyType< ResourceImageRightProperty
 The image to use in the center-right.
 
DynamicPropertyType< ResourceImageTopLeftProperty
 The image to use in the top-left corner.
 
DynamicPropertyType< ResourceImageTopProperty
 The image to use in the middle of the top row.
 
DynamicPropertyType< ResourceImageTopRightProperty
 The image to use in the top-right corner.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.NinePatchImage2D")
 Metaclass for NinePatchImage2D.
 
DynamicPropertyType< NodeEnums.ContentStretchStretchTypeBottomProperty
 Sets how to display the bottom image:
 
DynamicPropertyType< NodeEnums.ContentStretchStretchTypeCenterProperty
 Sets how to display the center image:
 
DynamicPropertyType< NodeEnums.ContentStretchStretchTypeLeftProperty
 Sets how to display the left image:
 
DynamicPropertyType< NodeEnums.ContentStretchStretchTypeRightProperty
 Sets how to display the right image:
 
DynamicPropertyType< NodeEnums.ContentStretchStretchTypeTopProperty
 Sets how to display the top image:
 

Detailed Description

Metadata definitions for NinePatchImage2D.

Member Data Documentation

◆ ImageBottomLeftProperty

DynamicPropertyType<Resource> ImageBottomLeftProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageBottomLeft", Resource.class)

Image to use in the bottom-left corner.

◆ ImageBottomProperty

DynamicPropertyType<Resource> ImageBottomProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageBottom", Resource.class)

The image to use in middle of the bottom row.

◆ ImageBottomRightProperty

DynamicPropertyType<Resource> ImageBottomRightProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageBottomRight", Resource.class)

The image to use in the bottom-right corner.

◆ ImageCenterProperty

DynamicPropertyType<Resource> ImageCenterProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageCenter", Resource.class)

The image to use in the center.

◆ ImageLeftProperty

DynamicPropertyType<Resource> ImageLeftProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageLeft", Resource.class)

The image to use in the center-left.

◆ ImageRightProperty

DynamicPropertyType<Resource> ImageRightProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageRight", Resource.class)

The image to use in the center-right.

◆ ImageTopLeftProperty

DynamicPropertyType<Resource> ImageTopLeftProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageTopLeft", Resource.class)

The image to use in the top-left corner.

◆ ImageTopProperty

DynamicPropertyType<Resource> ImageTopProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageTop", Resource.class)

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

◆ ImageTopRightProperty

DynamicPropertyType<Resource> ImageTopRightProperty
Initial value:
=
new DynamicPropertyType<>("NinePatchImage2D.ImageTopRight", Resource.class)

The image to use in the top-right corner.

◆ StretchTypeBottomProperty

DynamicPropertyType<NodeEnums.ContentStretch> StretchTypeBottomProperty
Initial value:
=
new DynamicPropertyType<>(
"NinePatchImage2D.StretchTypeBottom", NodeEnums.ContentStretch.class)

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.

◆ StretchTypeCenterProperty

DynamicPropertyType<NodeEnums.ContentStretch> StretchTypeCenterProperty
Initial value:
=
new DynamicPropertyType<>(
"NinePatchImage2D.StretchTypeCenter", NodeEnums.ContentStretch.class)

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.

◆ StretchTypeLeftProperty

Initial value:
=
new DynamicPropertyType<>(
"NinePatchImage2D.StretchTypeLeft", NodeEnums.ContentStretch.class)

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.

◆ StretchTypeRightProperty

DynamicPropertyType<NodeEnums.ContentStretch> StretchTypeRightProperty
Initial value:
=
new DynamicPropertyType<>(
"NinePatchImage2D.StretchTypeRight", NodeEnums.ContentStretch.class)

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.

◆ StretchTypeTopProperty

Initial value:
=
new DynamicPropertyType<>(
"NinePatchImage2D.StretchTypeTop", NodeEnums.ContentStretch.class)

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.