Platforms to show: All Mac Windows Linux Cross-Platform
MKPolygonRendererMBS class
Super class: MKOverlayPathRendererMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
This renderer fills and strokes the polygon represented by first filling the shape and then stroking its outline. You can change the color and other drawing attributes of the polygon by modifying the properties inherited from the parent class. You typically use this class as is and do not subclass it.
Subclass of the MKOverlayPathRendererMBS class.
- property polygon as MKPolygonMBS
- 2 methods
- method Constructor(Handle as Integer)
- method Constructor(polygon as MKPolygonMBS)
Super class MKOverlayPathRendererMBS
- 8 properties
- property fillColor as NSColorMBS
- property lineCap as Integer
- property lineDashPhase as Double
- property lineJoin as Integer
- property lineWidth as Double
- property miterLimit as Double
- property Path as CGPathMBS
- property strokeColor as NSColorMBS
- 10 methods
- method applyFillProperties(context as CGContextMBS, zoomScale as double)
- method applyStrokeProperties(context as CGContextMBS, zoomScale as double)
- method Constructor Private
- method Constructor(Handle as Integer)
- method createPath
- method fillPath(path as CGPathMBS, context as CGContextMBS)
- method GetLineDashPattern as Integer()
- method invalidatePath
- method SetLineDashPattern(values() as Integer)
- method strokePath(path as CGPathMBS, context as CGContextMBS)
Super class MKOverlayRendererMBS
- 4 properties
- property alpha as Double
- property contentScaleFactor as Double
- property Handle as Integer
- property overlay as MKOverlayMBS
- 11 methods
- method canDrawMapRect(Rect as MKMapRectMBS, zoomScale as Double) as Boolean
- method Constructor(Handle as Integer)
- method Constructor(overlay as MKOverlayMBS)
- method drawMapRect(Rect as MKMapRectMBS, zoomScale as Double, context as CGContextMBS)
- method mapPointForPoint(point as CGPointMBS) as MKMapPointMBS
- method mapRectForRect(Rect as CGRectMBS) as MKMapRectMBS
- method pointForMapPoint(mapRect as MKMapPointMBS) as CGPointMBS
- method RectForMapRect(mapRect as MKMapRectMBS) as CGRectMBS
- method setNeedsDisplay
- method setNeedsDisplayInMapRect(mapRect as MKMapRectMBS)
- method setNeedsDisplayInMapRect(mapRect as MKMapRectMBS, zoomScale as double)
- shared method RoadWidthAtZoomScale(zoomScale as double) as double
This class has no sub classes.
Blog Entries
Xojo Developer Magazine
The items on this page are in the following plugins: MBS MacFrameworks Plugin.