Skip to content

NinePatchImage

Class | orca.UIKit | extends Node2D

Specialized image view for nine-patch (stretchable) images

Overview

Properties

Property Type Description
StretchTypeTop float Top edge stretch behavior factor
StretchTypeBottom float Bottom edge stretch behavior factor
StretchTypeLeft float Left edge stretch behavior factor
StretchTypeRight float Right edge stretch behavior factor
StretchTypeCenter float Center region stretch behavior factor
ImageTopLeft Texture Top-left corner image (non-stretchable)
ImageTop Texture Top edge image (horizontally stretchable)
ImageTopRight Texture Top-right corner image (non-stretchable)
ImageLeft Texture Left edge image (vertically stretchable)
ImageCenter Texture Center region image (stretchable in both directions)
ImageRight Texture Right edge image (vertically stretchable)
ImageBottomLeft Texture Bottom-left corner image (non-stretchable)
ImageBottom Texture Bottom edge image (horizontally stretchable)
ImageBottomRight Texture Bottom-right corner image (non-stretchable)