Język

Magnifier.Builder.SetDefaultSourceToMagnifierOffset(Int32, Int32) Method

Definition

Sets an offset that should be added to the content source center to obtain the position of the magnifier window, when the Magnifier.show(float, float) method is called.

[Android.Runtime.Register("setDefaultSourceToMagnifierOffset", "(II)Landroid/widget/Magnifier$Builder;", "", ApiSince=29)]
public Android.Widget.Magnifier.Builder SetDefaultSourceToMagnifierOffset(int horizontalOffset, int verticalOffset);
[<Android.Runtime.Register("setDefaultSourceToMagnifierOffset", "(II)Landroid/widget/Magnifier$Builder;", "", ApiSince=29)>]
member this.SetDefaultSourceToMagnifierOffset : int * int -> Android.Widget.Magnifier.Builder

Parameters

horizontalOffset
Int32

int : the horizontal component of the offset.

verticalOffset
Int32

int : the vertical component of the offset.

Returns

This value cannot be null .

Attributes

Remarks

Java documentation for Magnifier.Builder.

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