Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKOverlayPathRendererMBS class.

MKOverlayPathRendererMBS.fillColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The fill color to use for the path.

(Read and Write property)

MKOverlayPathRendererMBS.lineCap as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The line cap style to apply to the open ends of the path.

The line cap style is applied to the start and end points of any open subpaths. This property does not affect closed subpaths. The default line cap style is kCGLineCapRound.
(Read and Write property)

MKOverlayPathRendererMBS.lineDashPhase as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The offset (in points) at which to start drawing the dash pattern.

Use this property to start drawing a dashed line partway through a segment or gap. For example, a phase value of 6 for the patter 5-2-3-2 would cause drawing to begin in the middle of the first gap.
The default value of this property is 0.
(Read and Write property)

MKOverlayPathRendererMBS.lineJoin as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The line join style to apply to corners of the path.

The default line join style is kCGLineJoinRound.
(Read and Write property)

MKOverlayPathRendererMBS.lineWidth as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The stroke width to use for the path.

The default value of this property is 0.
(Read and Write property)

MKOverlayPathRendererMBS.miterLimit as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The limiting value that helps avoid spikes at junctions between connected line segments.

The miter limit helps you avoid spikes in paths that use the kCGLineJoinMiter join style. If the ratio of the miter length—that is, the diagonal length of the miter join—to the line thickness exceeds the miter limit, the joint is converted to a bevel join. The default miter limit is 10, which results in the conversion of miters whose angle at the joint is less than 11 degrees.
(Read and Write property)

MKOverlayPathRendererMBS.Path as CGPathMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The path representing the overlay’s shape.

Getting the value of this property causes the path to be created (using the createPath method) if it does not already exist. You can assign a path object to this property explicitly. When assigning a new path object to this property, the overlay renderer stores a strong reference to the path you provide.
(Read and Write property)

MKOverlayPathRendererMBS.strokeColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The stroke color to use for the path.

(Read and Write property)

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


The biggest plugin in space...