Skip to content

UIScrollView.JumpScrollToHorizontal(float) Method

Definition

Namespace: Brine2D.UI

Jumps the horizontal scroll position proportionally to where the given screen-space X falls within the track \(left of track = scroll left, right = scroll right\).

C#
internal void JumpScrollToHorizontal(float screenX);

Parameters

screenX System.Single