Surface.SetPosition(Int32, Int32) Method

Definition

Sets this surface's position in its parent coordinate space.

[Android.Runtime.Register("setPosition", "(II)V", "GetSetPosition_IIHandler")]
public virtual void SetPosition(int x, int y);
[<Android.Runtime.Register("setPosition", "(II)V", "GetSetPosition_IIHandler")>]
abstract member SetPosition : int * int -> unit
override this.SetPosition : int * int -> unit

Parameters

x
Int32

The System.Int32 value used for x.

y
Int32

The System.Int32 value used for y.

Attributes

Remarks

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