GMSNavigationTermsDialogUIParams 類別參考資料

GMSNavigationTermsDialogUIParams 類別參考

總覽

描述對話方塊外觀和風格的參數。

公開成員函式

(instancetype)- initWithBackgroundColor:titleFont:titleColor:mainTextFont:mainTextColor:buttonsFont:cancelButtonTextColor:acceptButtonTextColor:
 建構 GMSNavigationTermsDialogUIParams 物件。

資源

UIColor * backgroundColor
 對話方塊背景的顏色。
UI 字型 * titleFont
 標題文字使用的字型。
UIColor * titleColor
 標題文字的顏色。
UI 字型 * mainTextFont
 條款文字和駕駛意願免責事項的字型。
UIColor * mainTextColor
 條款和駕駛意識免責事項的文字顏色。
UI 字型 * buttonsFont
 「取消」和「接受」按鈕上文字使用的字型。
UIColor * cancelButtonTextColor
 已淘汰,
UIColor * acceptButtonTextColor
 「接受」按鈕的文字顏色。

成員函式說明文件

- (instancetype) initWithBackgroundColor: (nullable UIColor *)  backgroundColor
titleFont: (可為空值 UIFont *) titleFont
titleColor: (nullable UIColor *)  titleColor
mainTextFont: (可為空值 UIFont *) mainTextFont
mainTextColor: (nullable UIColor *)  mainTextColor
按鈕字型: (可為空值 UIFont *) buttonsFont
cancelButtonTextColor: (nullable UIColor *)  cancelButtonTextColor
AcceptButtonTextColor: (nullable UIColor *)  acceptButtonTextColor

建構 GMSNavigationTermsDialogUIParams 物件。

請參閱屬性註解,瞭解參數的意義。


資源說明文件

- (UIColor*) backgroundColor [read, assign]

對話方塊背景的顏色。

- (UIFont*) titleFont [read, assign]

標題文字使用的字型。

- (UIColor*) titleColor [read, assign]

標題文字的顏色。

- (UIFont*) mainTextFont [read, assign]

條款文字和駕駛意願免責事項的字型。

- (UIColor*) mainTextColor [read, assign]

條款和駕駛意識免責事項的文字顏色。

- (UIFont*) buttonsFont [read, assign]

「取消」和「接受」按鈕上文字使用的字型。

- (UIColor*) cancelButtonTextColor [read, assign]

已淘汰,

已從對話方塊移除「取消」按鈕。

「取消」按鈕的文字顏色。按鈕的背景顏色是透明的。

注意:
已淘汰。已從對話方塊移除「取消」按鈕。
- (UIColor*) acceptButtonTextColor [read, assign]

「接受」按鈕的文字顏色。

按鈕的背景顏色是透明的。