Language

MagnificationConfig.Builder.SetCenterY(Single) Method

Definition

Sets the Y coordinate of the center of the magnification viewport.

[Android.Runtime.Register("setCenterY", "(F)Landroid/accessibilityservice/MagnificationConfig$Builder;", "", ApiSince=33)]
public Android.AccessibilityServices.MagnificationConfig.Builder SetCenterY(float centerY);
[<Android.Runtime.Register("setCenterY", "(F)Landroid/accessibilityservice/MagnificationConfig$Builder;", "", ApiSince=33)>]
member this.SetCenterY : single -> Android.AccessibilityServices.MagnificationConfig.Builder

Parameters

centerY
Single

the screen-relative Y coordinate around which to center and scale that is in the range [0, screenHeight], or Float.NaN to leave unchanged

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the Y coordinate of the center of the magnification viewport. The controlling magnifier will apply the given position.

Android reference for android.accessibilityservice.MagnificationConfig.Builder.setCenterY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to