Canvas.DrawPath(Path, Paint) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的油漆绘制指定的路径。
[Android.Runtime.Register("drawPath", "(Landroid/graphics/Path;Landroid/graphics/Paint;)V", "GetDrawPath_Landroid_graphics_Path_Landroid_graphics_Paint_Handler")]
public virtual void DrawPath(Android.Graphics.Path path, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawPath", "(Landroid/graphics/Path;Landroid/graphics/Paint;)V", "GetDrawPath_Landroid_graphics_Path_Landroid_graphics_Paint_Handler")>]
abstract member DrawPath : Android.Graphics.Path * Android.Graphics.Paint -> unit
override this.DrawPath : Android.Graphics.Path * Android.Graphics.Paint -> unit
参数
- path
- Path
要绘制的路径
- paint
- Paint
用于绘制路径的油漆
- 特性
注解
使用指定的油漆绘制指定的路径。 路径将基于画中的样式填充或框架。
Java文档android.graphics.Canvas.drawPath(android.graphics.Path, android.graphics.Paint)。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。