Riferimento per la classe GMSPinImageGlyph

Riferimento classe GMSPinImageGlyph

Panoramica

Fornisce un glifo personalizzato dell'immagine segnaposto per un indicatore avanzato.

Funzioni pubbliche dei membri

(GMSPinImageGlyph *)- initWithText:testoColore:
 Restituisce un modello glifo con il testo specificato.
(GMSPinImageGlyph *)- initWithImage:
 Restituisce un modello glifo con il testo specificato.
(GMSPinImageGlyph *)- initWithGlyphColor:
 Restituisce un modello glifo con il colore glifo specificato.

Proprietà

NSString * testo
UIColor * textColor
Immagine UI * image
UIColor * glyphColor

Documentazione sulle funzioni dei membri

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

Restituisce un modello glifo con il testo specificato.

Parametri:
testoUn oggetto NSString da utilizzare come glifo.
textColorUn oggetto UIColor da utilizzare per visualizzare il testo.
Resi:
Un modello glifo inizializzato.
- (GMSPinImageGlyph *) initWithImage: (UIImage *) image

Restituisce un modello glifo con il testo specificato.

Parametri:
immagineUn oggetto UIImage da utilizzare come glifo.
Resi:
Un modello glifo inizializzato.
- (GMSPinImageGlyph *) initWithGlyphColor: (UIColor *) glyphColor

Restituisce un modello glifo con il colore glifo specificato.

Parametri:
glyphColorUn oggetto UIColor da utilizzare per visualizzare il glifo.
Resi:
Un modello glifo inizializzato.

Documentazione della proprietà

- (NSString*) testo [read, assign]
- (UIColor*) textColor [read, assign]
- (UIImage*) immagine [read, assign]
- glyphColor [read, assign] (UIColor*)