/// <summary>Dash the drawn path by stamping it with the specified shape.</summary> /// <remarks> /// Dash the drawn path by stamping it with the specified shape. This only /// applies to drawings when the paint's style is STROKE or STROKE_AND_FILL. /// If the paint's style is FILL, then this effect is ignored. The paint's /// strokeWidth does not affect the results. /// </remarks> /// <param name="shape">The path to stamp along</param> /// <param name="advance">spacing between each stamp of shape</param> /// <param name="phase">amount to offset before the first shape is stamped</param> /// <param name="style">how to transform the shape at each position as it is stamped</param> public PathDashPathEffect(android.graphics.Path shape, float advance, float phase , android.graphics.PathDashPathEffect.Style style) { //!< translate the shape to each position //!< rotate the shape about its center //!< transform each point, and turn lines into curves native_instance = nativeCreate(shape.nativeInstance, advance, phase, (int)style); }
public PathDashPathEffect(android.graphics.Path arg0, float arg1, float arg2, android.graphics.PathDashPathEffect.Style arg3) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.graphics.PathDashPathEffect.staticClass, global::android.graphics.PathDashPathEffect._PathDashPathEffect3590, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3)); Init(@__env, handle); }