Phaser API Documentation

  Version: 
updateVertices()

Description:

Recalculates all of the vertices in this Nine Slice Game Object based on the leftWidth, rightWidth, topHeight and bottomHeight properties, combined with the Game Object size.

This method is called automatically when this object is created or if it's origin is changed.

You should not typically need to call this method directly, but it is left public should you find a need to modify one of those properties after creation.

Since: 3.60.0