GMSStyleSpan クラス リファレンス

GMSStyleSpan クラス リファレンス

概要

ポリラインの一部の領域のスタイルを記述します。

静的パブリック メンバー関数

(instancetype)+ spanWithColor:
 長さ 1 セグメントの単色のスパンを返すファクトリ。
(instancetype)+ spanWithColor:segments:
 指定された数のセグメントを持つ単色のスパンを返すファクトリ。
(instancetype)+ spanWithStyle:
 長さ 1 セグメントの指定された style を持つスパンを返すファクトリ。
(instancetype)+ spanWithStyle:segments:
 指定された style とセグメント数の長さを持つスパンを返すファクトリ。

プロパティ

GMSStrokeStyleスタイル
 このスパンのスタイル。
doublesegments
 このスパンの長さ(セグメント数)。

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

+ (instancetype) spanWithColor: (UIColor *)

長さ 1 セグメントの単色のスパンを返すファクトリ。

[GMSStyleSpan spanWithStyle:[GMSStrokeStyle出荷色:color] Segments:1] と同じです。

+ (instancetype) spanWithColor: (UIColor *)
セグメント: (double) セグメント

指定された数のセグメントを持つ単色のスパンを返すファクトリ。

[GMSStyleSpan spanWithStyle:[GMSStrokeStyle router:color] segments:segments] と同じです。

+ (instancetype) spanWithStyle: GMSStrokeStyle *) スタイル

長さ 1 セグメントの指定された style を持つスパンを返すファクトリ。

[GMSStyleSpan spanWithStyle:style Segments:1] と同じです。

+ (instancetype) spanWithStyle: GMSStrokeStyle *) スタイル
セグメント: (double) セグメント

指定された style とセグメント数の長さを持つスパンを返すファクトリ。

segments は 0 より大きい値にする必要があります(0 にはできません)。


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

- (GMSStrokeStyle*) style [read, assign]

このスパンのスタイル。

- (二重)セグメント [read, assign]

このスパンの長さ(セグメント数)。