语言

Insets.Max(Insets, Insets) 方法

定义

检索最多两个 Inset。

[Android.Runtime.Register("max", "(Landroid/graphics/Insets;Landroid/graphics/Insets;)Landroid/graphics/Insets;", "", ApiSince=29)]
public static Android.Graphics.Insets Max(Android.Graphics.Insets a, Android.Graphics.Insets b);
[<Android.Runtime.Register("max", "(Landroid/graphics/Insets;Landroid/graphics/Insets;)Landroid/graphics/Insets;", "", ApiSince=29)>]
static member Max : Android.Graphics.Insets * Android.Graphics.Insets -> Android.Graphics.Insets

参数

a
Insets

第一个 Insets。

b
Insets

第二个 Insets。

返回

max(a, b),即每个侧面每个内嵌的较大值都用于结果。

特性

注解

检索最多两个 Inset。

Java文档android.graphics.Insets.max(android.graphics.Insets, android.graphics.Insets)。

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

适用于