GMSPinImageGlyph Class Reference
Overview
Provides a custom pin image glyph for an advanced marker.
Public Member Functions | |
(GMSPinImageGlyph *) | - initWithText:textColor: |
Returns a glyph model with the given text. | |
(GMSPinImageGlyph *) | - initWithImage: |
Returns a glyph model with the given text. | |
(GMSPinImageGlyph *) | - initWithGlyphColor: |
Returns a glyph model with the given glyph color. | |
Properties | |
NSString * | text |
UIColor * | textColor |
UIImage * | image |
UIColor * | glyphColor |
Member Function Documentation
- (GMSPinImageGlyph *) initWithText: | (NSString *) | text | |
textColor: | (UIColor *) | textColor | |
Returns a glyph model with the given text.
- Parameters:
-
text A NSString
object to use as the glyph.textColor A UIColor
object to use to render the text.
- Returns:
- An initialized glyph model.
- (GMSPinImageGlyph *) initWithImage: | (UIImage *) | image |
Returns a glyph model with the given text.
- Parameters:
-
image A UIImage
object to use as the glyph.
- Returns:
- An initialized glyph model.
- (GMSPinImageGlyph *) initWithGlyphColor: | (UIColor *) | glyphColor |
Returns a glyph model with the given glyph color.
- Parameters:
-
glyphColor A UIColor
object to use to render the glyph.
- Returns:
- An initialized glyph model.
Property Documentation
- (NSString*) text [read, assign] |
- (UIColor*) textColor [read, assign] |
- (UIImage*) image [read, assign] |
- (UIColor*) glyphColor [read, assign] |