GMSPinImageGlyph クラス リファレンス

GMSPinImageGlyph クラス リファレンス

概要

高度なマーカー用のカスタムのピン画像のグリフを提供します。

公開メンバー関数

GMSPinImageGlyph *)- initWithText:textColor:
 指定されたテキストのグリフモデルを返します。
GMSPinImageGlyph *)- initWithImage:
 指定されたテキストのグリフモデルを返します。
GMSPinImageGlyph *)- initWithGlyphColor:
 指定されたグリフ色のグリフモデルを返します。

プロパティ

NSString * text
UIColor * textColor
UIImage * image
UIColor * glyphColor

メンバー関数のドキュメント

- (GMSPinImageGlyph *) initWithText: (NSString *)  text
textColor: (UIColor *) textColor

指定されたテキストのグリフモデルを返します。

パラメータ:
指定していますグリフとして使用する NSString オブジェクト。
textColorテキストのレンダリングに使用する UIColor オブジェクト。
戻り値:
初期化されたグリフモデル。
- (GMSPinImageGlyph *) initWithImage: (UIImage *) image

指定されたテキストのグリフモデルを返します。

パラメータ:
イメージグリフとして使用する UIImage オブジェクト。
戻り値:
初期化されたグリフモデル。
- (GMSPinImageGlyph *) initWithGlyphColor: (UIColor *) glyphColor

指定されたグリフ色のグリフモデルを返します。

パラメータ:
glyphColorグリフのレンダリングに使用する UIColor オブジェクト。
戻り値:
初期化されたグリフモデル。

プロパティのドキュメント

- (NSString*) text [read, assign]
- (UIColor*) textColor [read, assign]
- (UIImage*) image [read, assign]
- (UIColor*) glyphColor [read, assign]