Region.GetBoundaryPath(Path) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将区域的边界轮廓添加到路径或用它们替换路径。
[Android.Runtime.Register("getBoundaryPath", "(Landroid/graphics/Path;)Z", "GetGetBoundaryPath_Landroid_graphics_Path_Handler")]
public virtual bool GetBoundaryPath(Android.Graphics.Path path);
[<Android.Runtime.Register("getBoundaryPath", "(Landroid/graphics/Path;)Z", "GetGetBoundaryPath_Landroid_graphics_Path_Handler")>]
abstract member GetBoundaryPath : Android.Graphics.Path -> bool
override this.GetBoundaryPath : Android.Graphics.Path -> bool
参数
- path
- Path
接收区域边界轮廓的路径。
返回
在 Android 1.6 到 2.3 和 Android 4.0 到 17 上, true 如果区域为空, false 则为空。
- 特性
注解
对于非空区域,Android 1.6 到 2.3 和 Android 4.0 到 16 将边界轮廓追加到 path。 Android 17 将路径替换为边界。 在这些版本中,空区域使路径保持不变。
Java文档android.graphics.Region.getBoundaryPath(android.graphics.Path)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。