Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSShadowMBS class.

NSShadowMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

NSShadowMBS.shadowBlurRadius as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The blur radius of the shadow.

This property contains the blur radius, as measured in the default user coordinate space. A value of 0 indicates no blur, while larger values produce correspondingly larger blurring. The default value is 0.
(Read and Write property)

Some examples using this property:

NSShadowMBS.shadowColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The color of the shadow.

The default shadow color is black with an alpha of 1/3. If you set this property to nil, the shadow is not drawn.
(Read and Write property)

NSShadowMBS.shadowOffset as NSSizeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The offset values of the shadow.

This property contains the horizontal and vertical offset values, specified using the width and height fields of the NSSize data type. These offsets are measured using the default user coordinate space and are not affected by custom transformations. This means that positive values always extend down and to the right from the user's perspective.
(Read and Write property)

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


The biggest plugin in space...