push


Description:

public void push ()

Saves the current transform and starts a new transform that derives from the current transform.

This is usually called while traversing a scenegraph whenever you traverse one level deeper. pop can then be called when going back up one layer to restore the previous transform of an ancestor.

Parameters:

this

A MatrixStack