GMSNavigationTermsDialogUIParams 類別參考資料

GMSNavigationTermsDialogUIParams 類別參考資料

總覽

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

公開成員函式

(執行個體類型)- initWithBackgroundColor:titleFont:titleColor:mainTextFont:mainTextColor:buttonsFont:cancelButtonTextColor:acceptButtonTextColor:
 建構 GMSNavigationTermsDialogUIParams 物件。

資源

UIColor * backgroundColor
 對話方塊的背景色彩。
UIFont * titleFont
 標題文字使用的字型。
UIColor * titleColor
 標題中的文字顏色。
UIFont * mainTextFont
 「條款」和「駕照免責事項」文字使用的字型。
UIColor * mainTextColor
 條款和駕駛人感知免責事項的文字顏色。
UIFont * buttonsFont
 「取消」和「接受」按鈕文字所使用的字型。
UIColor * cancelButtonTextColor
 「取消」按鈕的文字顏色。
UIColor * acceptButtonTextColor
 「接受」按鈕的文字顏色。

成員函式說明文件

- (instancetype) initWithBackgroundColor: (nullable UIColor *)  backgroundColor
titleFont: (可為空值 UIFont *) titleFont
標題顏色: (nullable UIColor *)  titleColor
mainTextFont: (可為空值 UIFont *) mainTextFont
mainTextColor: (nullable UIColor *)  mainTextColor
buttonFont: (可為空值 UIFont *) buttonsFont
cancelButtonTextColor: (nullable UIColor *)  cancelButtonTextColor
supportedButtonTextColor: (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]

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

按鈕的背景顏色為透明。