Share via


Outline.Offset(Int32, Int32) Method

Definition

Offsets the Outline by (dx,dy).

[Android.Runtime.Register("offset", "(II)V", "", ApiSince=22)]
public void Offset (int dx, int dy);
[<Android.Runtime.Register("offset", "(II)V", "", ApiSince=22)>]
member this.Offset : int * int -> unit

Parameters

dx
Int32
dy
Int32
Attributes

Remarks

Offsets the Outline by (dx,dy). Offsetting is cumulative, so additional calls to offset() will add to previous offset values. Offset only applies to the current geometry (setRect(), setPath(), etc.); setting new geometry resets any existing offset.

Java documentation for android.graphics.Outline.offset(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.

Applies to