ZMSPolygon Class Reference

Inherits from ZMSOverlay : NSObject
Declared in ZMSPolygon.h

Overview

ZMSPolygonはユーザーが定義したポリゴンを表示するためのクラス ポリゴンは連続した点列によって定義される

  path

ポリゴンを形成する点列

@property (nonatomic, copy) ZMSPath *path

Discussion

ポリゴンを形成する点列

Declared In

ZMSPolygon.h

  strokeWidth

ポリゴンの枠線の線幅(1.0 〜100.0)

@property (nonatomic, assign) CGFloat strokeWidth

Discussion

ポリゴンの枠線の線幅(1.0 〜100.0)

Declared In

ZMSPolygon.h

  strokeColor

ポリゴンの枠線の線色

@property (nonatomic, strong) UIColor *strokeColor

Discussion

ポリゴンの枠線の線色

Declared In

ZMSPolygon.h

  fillColor

ポリゴンの塗りつぶし色

@property (nonatomic, strong) UIColor *fillColor

Discussion

ポリゴンの塗りつぶし色

Declared In

ZMSPolygon.h

  holes

ポリゴンに穴を空ける場合のポリゴン点列を複数設定可能

@property (nonatomic, strong) NSArray<ZMSPath*> *holes

Discussion

ポリゴンに穴を空ける場合のポリゴン点列を複数設定可能

Declared In

ZMSPolygon.h

+ polygonWithPath:

ZMSPolygon用簡易コンストラクタ

+ (instancetype)polygonWithPath:(ZMSPath *)path

Parameters

(ZMSPath*)path

ポリゴンを形成する座標点列

Return Value

ZMSPolygon

Discussion

ZMSPolygon用簡易コンストラクタ

Declared In

ZMSPolygon.h