ZMSPath Class Reference

Inherits from NSObject
Conforms to NSCopying
NSMutableCopying
Declared in ZMSPath.h

Overview

ZMSPathは不変のCLLocationCoordinate2Dの点列を保持するクラス ZMSPathの全座標は有効な値である必要がある 変更可能な点列を保持するクラスにZMSMutablePathがある

+ path

空の点列を生成する簡易コンストラクタ

+ (instancetype)path

Discussion

空の点列を生成する簡易コンストラクタ

Declared In

ZMSPath.h

– initWithPath:

別のZMSPathによって新たな点列を初期化する

- (id)initWithPath:(ZMSPath *)path

Parameters

path

初期化用のライン座標

Discussion

別のZMSPathによって新たな点列を初期化する

Declared In

ZMSPath.h

– count

点列の数を取得

- (NSInteger)count

Discussion

点列の数を取得

Declared In

ZMSPath.h

– coordinateAtIndex:

任意のインデックスの座標情報を返却する

- (CLLocationCoordinate2D)coordinateAtIndex:(NSInteger)index

Parameters

index

任意の座標を取得したいインデックス

Discussion

任意のインデックスの座標情報を返却する

Declared In

ZMSPath.h