Value | Meaning |
---|---|
axisStretchModeStretch0 | Stretches the center texture across the NinePatchRect. This may cause the texture to be distorted. |
axisStretchModeTile1 | Repeats the center texture across the NinePatchRect. This won't cause any visible distortion. The texture must be seamless for this to work without displaying artifacts between edges. Note: Only supported when using the GLES3 renderer. When using the GLES2 renderer, this will behave like constant AXIS_STRETCH_MODE_STRETCH. |
axisStretchModeTileFit2 | Repeats the center texture across the NinePatchRect, but will also stretch the texture to make sure each tile is visible in full. This may cause the texture to be distorted, but less than constant AXIS_STRETCH_MODE_STRETCH. The texture must be seamless for this to work without displaying artifacts between edges. Note: Only supported when using the GLES3 renderer. When using the GLES2 renderer, this will behave like constant AXIS_STRETCH_MODE_STRETCH. |