js-util

Home > rc-js-util > Range2d > getCenter

Range2d.getCenter() method

Signature:

getCenter<TResult extends TTypedArray = TArray>(_result?: Vec2<TResult>): Vec2<TResult>;

Parameters

Parameter Type Description
_result Vec2<TResult> (Optional)

Returns:

Vec2<TResult>