Platforms to show: All Mac Windows Linux Cross-Platform
NSSizeMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS Main Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 3 properties
- 7 methods
- method Constructor
- method Constructor(p as Ptr)
- method Constructor(s as string)
- method Constructor(Width as Double, Height as Double)
- method Equal(other as NSSizeMBS) as boolean
- method Operator_Convert as String
- method String as String
- shared method Zero as NSSizeMBS
This class has no sub classes.
Some useful global functions for this class:
- NSMakeSizeMBS(w as Double, h as Double) as NSSizeMBS
Some methods using this class:
- NSCellMBS.cellSize as NSSizeMBS
- NSCoderMBS.decodeSize(key as string) as NSSizeMBS
- NSFontMBS.advancementForGlyph(aGlyph as Integer) as NSSizeMBS
- NSGraphicsMBS.boundingRectWithSize(text as NSAttributedStringMBS, size as NSSizeMBS, options as Integer = 0) as NSRectMBS
- NSGraphicsMBS.boundingRectWithSize(text as string, size as NSSizeMBS, options as Integer = 0, DicAttributes as dictionary = nil) as NSRectMBS
- NSPrinterMBS.pageSizeForPaper(paperName as string) as NSSizeMBS
- NSTextContainerMBS.Constructor(size as NSSizeMBS)
- NSViewMBS.dragImage(image as NSImageMBS, viewLocation as NSPointMBS, offset as NSSizeMBS, NSEvent as NSEventMBS, pboard as NSPasteboardMBS, source as NSViewMBS, slideFlag as boolean)
- NSViewMBS.setBoundsSize(size as NSSizeMBS)
- PDFViewMBS.rowSizeForPage(page as PDFPageMBS) as NSSizeMBS
Some properties using for this class:
- NSCollectionViewFlowLayoutMBS.estimatedItemSize as NSSizeMBS
- NSCollectionViewFlowLayoutMBS.headerReferenceSize as NSSizeMBS
- NSCollectionViewLayoutAttributesMBS.size as NSSizeMBS
- NSMenuMBS.size as NSSizeMBS
- NSShadowMBS.shadowOffset as NSSizeMBS
- NSToolbarItemMBS.MaxSize as NSSizeMBS
- NSWindowMBS.aspectRatio as NSSizeMBS
- NSWindowMBS.contentAspectRatio as NSSizeMBS
- IKImageBrowserViewMBS.cellSize as NSSizeMBS
- NSPopoverMBS.contentSize as NSSizeMBS
Some events using this class:
- CustomNSTextFieldCellMBS.cellSize(size as NSSizeMBS) as NSSizeMBS
- DesktopNSCollectionViewControlMBS.referenceSizeForFooterInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- DesktopNSCollectionViewControlMBS.referenceSizeForHeaderInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- DesktopNSCollectionViewControlMBS.sizeForItemAtIndexPath(layout as NSCollectionViewLayoutMBS, indexPath as NSIndexPathMBS) as NSSizeMBS
- DesktopNSSplitViewControlMBS.resizeSubviewsWithOldSize(oldSize as NSSizeMBS)
- NSCollectionViewControlMBS.referenceSizeForFooterInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- NSCollectionViewControlMBS.referenceSizeForHeaderInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- NSCollectionViewControlMBS.sizeForItemAtIndexPath(layout as NSCollectionViewLayoutMBS, indexPath as NSIndexPathMBS) as NSSizeMBS
- NSSplitViewControlMBS.resizeSubviewsWithOldSize(oldSize as NSSizeMBS)
- NSWindowDelegateMBS.willResizeForVersionBrowser(win as NSWindowMBS, maxPreferredFrameSize as NSSizeMBS, maxAllowedFrameSize as NSSizeMBS) as NSSizeMBS
Some examples using this class:
- /MacBase/NSDictionary Conversion Test
- /MacCocoa/Print RTF via NSGraphics
- /MacCocoa/Shadow Test
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/NSCollectionView Test
- /MacControls/Toolbar/Toolbar buttons/Toolbar buttons
- /MacControls/TransparentTextFields
- /MacFrameworks/CustomNSScroller/Dark scrollbar
- /MacFrameworks/Image Capture/Scanner Browser
- /PDFKit/PDFView iOS Test
Blog Entries
- MBS Xojo / Real Studio Plugins, version 16.1pr1
- Apply fonts to font PopupMenu
- MBS REALbasic plug-in 9.6
The items on this page are in the following plugins: MBS Main Plugin.
NSSharingServicePickerMBS - NSSliderMBS