MKCircleView Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/MapKit.framework |
| Availability | Available in iOS 4.0 and later. |
| Companion guide | |
| Declared in | MKCircleView.h |
Overview
The MKCircleView class provides the visual representation for an MKCircle annotation object. This view fills and strokes the circle represented by the annotation. You can change the color and other drawing attributes of the circle by modifying the properties inherited from the MKOverlayPathView class. This class is typically used as is and not subclassed.
Properties
circle
The circle overlay object that contains the information used to draw the overlay. (read-only)
@property (nonatomic, readonly) MKCircle *circle
Availability
- Available in iOS 4.0 and later.
Declared In
MKCircleView.hInstance Methods
initWithCircle:
Initializes and returns a new overlay view using the specified circle overlay object.
- (id)initWithCircle:(MKCircle *)circle
Parameters
- circle
The circle overlay containing the information about the circular area to be drawn.
Return Value
A new circle overlay view.
Availability
- Available in iOS 4.0 and later.
Declared In
MKCircleView.h© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-05-11)