语言

DiscretePathEffect 构造函数

定义

重载

名称 说明
DiscretePathEffect(IntPtr, JniHandleOwnership)

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

DiscretePathEffect(Single, Single)

将路径切成段线,随机偏离原始路径(偏差)。

DiscretePathEffect(IntPtr, JniHandleOwnership)

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

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

参数

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

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

适用于

DiscretePathEffect(Single, Single)

将路径切成段线,随机偏离原始路径(偏差)。

[Android.Runtime.Register(".ctor", "(FF)V", "")]
public DiscretePathEffect(float segmentLength, float deviation);
[<Android.Runtime.Register(".ctor", "(FF)V", "")>]
new Android.Graphics.DiscretePathEffect : single * single -> Android.Graphics.DiscretePathEffect

参数

segmentLength
Single

生成的行段的请求长度。

deviation
Single

用于生成的顶点的偏移量。

特性

注解

将路径切成段线,随机偏离原始路径(偏差)。

Java文档android.graphics.DiscretePathEffect.DiscretePathEffect(float, float)。

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

适用于