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(),以像素為單位。 卡片影像的尺寸會被請求,以便渲染時不會縮放。
cardWidthPx應將 和 cardHeightPx 應用於 的大小WalletCard#getCardImage()。 卡片影像的尺寸被指定,以便能夠準確呈現,且不會因縮放而產生的失真。
Java 文件 android.service.quickaccesswallet.GetWalletCardsRequest.getCardWidthPx()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。