總覽
提供用於進階標記的自訂圖釘圖片字符。
公開成員函式 | |
(GMSPinImageGlyph *) | - initWithText:textColor: |
傳回包含指定文字的字符模型。 | |
(GMSPinImageGlyph *) | - initWithImage: |
傳回包含指定文字的字符模型。 | |
(GMSPinImageGlyph *) | - initWithGlyphColor: |
傳回具有指定字符顏色的字符模型。 | |
資源 | |
NSString * | 文字 |
UIColor * | textColor |
UIImage * | 圖片 |
UIColor * | glyphColor |
成員函式說明文件
- (GMSPinImageGlyph *) initWithText: | (NSString *) | 文字 | |
textColor: | (UIColor *) | textColor | |
傳回包含指定文字的字符模型。
- 參數:
-
text 要做為字符的 NSString
物件。textColor 用於轉譯文字的 UIColor
物件。
- 傳回:
- 已初始化的字符模型。
- (GMSPinImageGlyph *) initWithImage: | (UIImage *) | 圖片 |
傳回包含指定文字的字符模型。
- 參數:
-
圖片 要做為字符的 UIImage
物件。
- 傳回:
- 已初始化的字符模型。
- (GMSPinImageGlyph *) initWithGlyphColor: | (UIColor *) | glyphColor |
傳回具有指定字符顏色的字符模型。
- 參數:
-
glyphColor 用於算繪字符的 UIColor
物件。
- 傳回:
- 已初始化的字符模型。
資源說明文件
- (NSString*) 文字 [read, assign] |
- (UIColor*) textColor [read, assign] |
- (UIImage*) 圖片 [read, assign] |
- (UIColor*) glyphColor [read, assign] |