语言

PathDashPathEffect 构造函数

定义

重载

名称 说明
PathDashPathEffect(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

通过用指定形状标记绘制的路径来冲破绘制的路径。

PathDashPathEffect(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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

通过用指定形状标记绘制的路径来冲破绘制的路径。

[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

参数

shape
Path

沿此标记的路径

advance
Single

形状的每个标记之间的间距

phase
Single

在标记第一个形状之前偏移量

style
PathDashPathEffect.Style

如何转换每个位置的形状,因为它被标记

特性

注解

Java文档android.graphics.PathDashPathEffect.PathDashPathEffect(android.graphics.Path, float, float, android.graphics.Style)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于