GetWalletCardsRequest.CardWidthPx 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
所需的宽度 WalletCard#getCardImage()(以像素为单位)。
public int CardWidthPx { [Android.Runtime.Register("getCardWidthPx", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCardWidthPx", "()I", "", ApiSince=30)>]
member this.CardWidthPx : int
属性值
请求的卡片图像宽度(以像素为单位)。
- 特性
注解
所需的宽度 WalletCard#getCardImage()(以像素为单位)。 请求卡片图像的尺寸,以便可以在不缩放的情况下呈现它。
应cardWidthPxcardHeightPx应用于其WalletCard#getCardImage()大小。 指定了卡片图像的大小,以便可以准确呈现它,而不会因缩放而导致失真。
适用于 . 的 android.service.quickaccesswallet.GetWalletCardsRequest.getCardWidthPx()Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。