getShift

fun getShift(out: DoubleArray? = null): DoubleArray

Get the 2D translation shift applied to the projection matrix.

Return

The out array with shift offsets

Parameters

out

Optional DoubleArray of at least 2 elements x, y; created if null