Udostępnij za pośrednictwem


PathDashPathEffect Constructors

Definition

Overloads

PathDashPathEffect(IntPtr, JniHandleOwnership)

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

PathDashPathEffect(Path, Single, Single, PathDashPathEffect+Style)

Dash the drawn path by stamping it with the specified shape.

PathDashPathEffect(IntPtr, JniHandleOwnership)

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

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

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

PathDashPathEffect(Path, Single, Single, PathDashPathEffect+Style)

Dash the drawn path by stamping it with the specified shape.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;FFLandroid/graphics/PathDashPathEffect$Style;)V", "")]
public PathDashPathEffect (Android.Graphics.Path? shape, float advance, float phase, Android.Graphics.PathDashPathEffect.Style? style);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;FFLandroid/graphics/PathDashPathEffect$Style;)V", "")>]
new Android.Graphics.PathDashPathEffect : Android.Graphics.Path * single * single * Android.Graphics.PathDashPathEffect.Style -> Android.Graphics.PathDashPathEffect

Parameters

shape
Path

The path to stamp along

advance
Single

spacing between each stamp of shape

phase
Single

amount to offset before the first shape is stamped

style
PathDashPathEffect.Style

how to transform the shape at each position as it is stamped

Attributes

Remarks

Java documentation for android.graphics.PathDashPathEffect.PathDashPathEffect(android.graphics.Path, float, float, android.graphics.Style).

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