getHolePositions

fun getHolePositions(holeIndex: Int, result: TypedArray<*, *, *, *>? = definedExternally)(source)

Returns an array view of the inner linear ring vertex positions for the specified hole. If 'result' argument is given, vertex positions are written to that array and returned. Otherwise, returns an ArrayView on collection memory — changes to this array will not trigger render updates, which requires .setPositions().

Parameters

result

return {TypedArray}

See also