RectF.Offset(Single, Single) 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.
Offset the rectangle by adding dx to its left and right coordinates, and adding dy to its top and bottom coordinates.
[Android.Runtime.Register("offset", "(FF)V", "GetOffset_FFHandler")]
public virtual void Offset (float dx, float dy);
[<Android.Runtime.Register("offset", "(FF)V", "GetOffset_FFHandler")>]
abstract member Offset : single * single -> unit
override this.Offset : single * single -> unit
Parameters
- dx
- Single
The amount to add to the rectangle's left and right coordinates
- dy
- Single
The amount to add to the rectangle's top and bottom coordinates
- Attributes
Remarks
Offset the rectangle by adding dx to its left and right coordinates, and adding dy to its top and bottom coordinates.
Java documentation for android.graphics.RectF.offset(float, float)
.
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.