RenderNode.SetPosition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetPosition(Rect) |
Sets the position of the RenderNode. |
SetPosition(Int32, Int32, Int32, Int32) |
Sets the position of the RenderNode. |
SetPosition(Rect)
Sets the position of the RenderNode.
[Android.Runtime.Register("setPosition", "(Landroid/graphics/Rect;)Z", "", ApiSince=29)]
public bool SetPosition (Android.Graphics.Rect position);
[<Android.Runtime.Register("setPosition", "(Landroid/graphics/Rect;)Z", "", ApiSince=29)>]
member this.SetPosition : Android.Graphics.Rect -> bool
Parameters
- position
- Rect
The position rectangle in pixels
Returns
True if the value changed, false if the new value was the same as the previous value.
- Attributes
Remarks
Sets the position of the RenderNode.
Java documentation for android.graphics.RenderNode.setPosition(android.graphics.Rect)
.
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
SetPosition(Int32, Int32, Int32, Int32)
Sets the position of the RenderNode.
[Android.Runtime.Register("setPosition", "(IIII)Z", "", ApiSince=29)]
public bool SetPosition (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setPosition", "(IIII)Z", "", ApiSince=29)>]
member this.SetPosition : int * int * int * int -> bool
Parameters
- left
- Int32
The left position of the RenderNode, in pixels
- top
- Int32
The top position of the RenderNode, in pixels
- right
- Int32
The right position of the RenderNode, in pixels
- bottom
- Int32
The bottom position of the RenderNode, in pixels
Returns
True if the value changed, false if the new value was the same as the previous value.
- Attributes
Remarks
Sets the position of the RenderNode.
Java documentation for android.graphics.RenderNode.setPosition(int, int, int, int)
.
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.