次の方法で共有


Path.Offset Method

Definition

Overloads

Offset(Single, Single)

Offset the path by (dx,dy)

Offset(Single, Single, Path)

Offset the path by (dx,dy)

Offset(Single, Single)

Offset the path by (dx,dy)

[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 in the X direction to offset the entire path

dy
Single

The amount in the Y direction to offset the entire path

Attributes

Remarks

Offset the path by (dx,dy)

Java documentation for android.graphics.Path.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.

Applies to

Offset(Single, Single, Path)

Offset the path by (dx,dy)

[Android.Runtime.Register("offset", "(FFLandroid/graphics/Path;)V", "GetOffset_FFLandroid_graphics_Path_Handler")]
public virtual void Offset (float dx, float dy, Android.Graphics.Path? dst);
[<Android.Runtime.Register("offset", "(FFLandroid/graphics/Path;)V", "GetOffset_FFLandroid_graphics_Path_Handler")>]
abstract member Offset : single * single * Android.Graphics.Path -> unit
override this.Offset : single * single * Android.Graphics.Path -> unit

Parameters

dx
Single

The amount in the X direction to offset the entire path

dy
Single

The amount in the Y direction to offset the entire path

dst
Path

The translated path is written here. If this is null, then the original path is modified.

Attributes

Remarks

Offset the path by (dx,dy)

Java documentation for android.graphics.Path.offset(float, float, android.graphics.Path).

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