paintOrder method

int paintOrder(
  1. T element
)

Returns a number which is used to determine the order in which multiple SceneElements inside of a Window are painted.

SceneElements with a smaller paint order appear behind SceneElements with a greater paint order. SceneElements with the same paint order are painted in the order in which they appear in Scene.elements.

Implementation

int paintOrder(T element) => 0;