Platforms to show: All Mac Windows Linux Cross-Platform

NSSymbolScaleEffectMBS class

Superclass: NSSymbolEffectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A symbol effect that scales symbol images.
Example
// show a symbol bigger, e.g. while the mouse is over it (macOS 14 or newer)
Var imageView As New NSImageViewMBS(20, 20, 64, 64)
imageView.image = NSImageMBS.imageWithSystemSymbolName("star.fill", "Symbol")
Self.NSWindowMBS.contentView.addSubview imageView

Var effect As NSSymbolScaleEffectMBS = NSSymbolScaleEffectMBS.scaleUpEffect
imageView.addSymbolEffect(effect)
// back to normal size: imageView.removeSymbolEffectOfType(effect)

Requires macOS 14.0, iOS 17.0 or newer.
Subclass of the NSSymbolEffectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Superclass NSSymbolEffectMBS

This class has no subclasses.

Some related classes:


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


NSSymbolRotateEffectMBS   -   NSSymbolVariableColorEffectMBS


The biggest plugin in space...