Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

MKOverlayPathViewMBS class

Super class: MKOverlayViewMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class MapKit MBS MacFrameworks Plugin 14.1 Yes No No Yes, macOS only No
Function: The MKOverlayPathView class represents a generic overlay that draws its contents using a CGPath data type.
You can use this class to implement simple path-based overlay views or subclass it to define additional drawing behaviors. The default drawing behavior of this class is to apply the object's current fill attributes, fill the path, apply the current stroke attributes, and then stroke the path.

If you subclass, you should override the createPath method and use that method to build the appropriate path for the overlay. You can invalidate this path as needed and force the path to be recreated using whatever new data your subclass has obtained.
Subclass of the MKOverlayViewMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class MKOverlayViewMBS

Super class MKViewMBS

Sub classes:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.

MKMultiPointMBS   -   MKOverlayViewMBS

MBS Xojo Plugins