PathShape Constructors

Definition

Overloads

PathShape(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

PathShape(Path, Single, Single)

PathShape constructor.

PathShape(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected PathShape (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.Shapes.PathShape : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.Shapes.PathShape

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

PathShape(Path, Single, Single)

PathShape constructor.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;FF)V", "")]
public PathShape (Android.Graphics.Path path, float stdWidth, float stdHeight);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;FF)V", "")>]
new Android.Graphics.Drawables.Shapes.PathShape : Android.Graphics.Path * single * single -> Android.Graphics.Drawables.Shapes.PathShape

Parameters

path
Path

a Path that defines the geometric paths for this shape

stdWidth
Single

the standard width for the shape. Any changes to the width with resize() will result in a width scaled based on the new width divided by this width.

stdHeight
Single

the standard height for the shape. Any changes to the height with resize() will result in a height scaled based on the new height divided by this height.

Attributes

Remarks

PathShape constructor.

Java documentation for android.graphics.drawable.shapes.PathShape.PathShape(android.graphics.Path, 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