DMKPolygonView Class Reference

Inherits from DMKOverlayPathView : DMKOverlayView : UIView
Declared in DMKPolygonView.h

Overview

此类是DMKPolygon的显示多边形View,可以通过DMKOverlayPathView修改其fill和stroke attributes

  polygon

关联的DMKPolygon model

@property (nonatomic, strong, readonly) DMKPolygon *polygon

Discussion

关联的DMKPolygon model

Declared In

DMKPolygonView.h

– initWithPolygon:

根据指定的多边形生成一个多边形view

- (instancetype)initWithPolygon:(DMKPolygon *)polygon

Parameters

polygon

指定的多边形数据对象

Return Value

新生成的多边形view

Declared In

DMKPolygonView.h