Files
MapLibreParticleLab/platform/darwin/src/MGLShape.h
Minh Nguyễn 1634058b51 [ios, osx] Reformatted documentation comments
Reformatted documentation comments in public headers in the OS X SDK and public headers shared between the iOS and OS X SDKs to wrap at column 80 and avoid excessive indentation that causes SourceKitten to detect code blocks.
2016-05-10 09:59:04 -07:00

42 lines
1022 B
Objective-C

#import <Foundation/Foundation.h>
#import "MGLAnnotation.h"
#import "MGLTypes.h"
NS_ASSUME_NONNULL_BEGIN
/**
The `MGLShape` class is an abstract class that defines the basic properties for
all shape-based annotation objects. This class must be subclassed and cannot be
used as is. Subclasses are responsible for defining the geometry of the shape
and providing an appropriate value for the coordinate property inherited from
the `MGLAnnotation` protocol.
*/
@interface MGLShape : NSObject <MGLAnnotation>
/**
The title of the shape annotation. The default value of this property is `nil`.
*/
@property (nonatomic, copy, nullable) NSString *title;
/**
The subtitle of the shape annotation. The default value of this property is
`nil`.
*/
@property (nonatomic, copy, nullable) NSString *subtitle;
#if !TARGET_OS_IPHONE
/**
The tooltip of the shape annotation. The default value of this property is
`nil`.
*/
@property (nonatomic, copy, nullable) NSString *toolTip;
#endif
@end
NS_ASSUME_NONNULL_END