Platforms to show: All Mac Windows Linux Cross-Platform
NSRectMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS Main Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 14 properties
- property Handle as Ptr
- property Height as Double
- property IsEmpty as boolean
- property MaxX as Double
- property MaxY as Double
- property MidX as Double
- property MidY as Double
- property MinX as Double
- property MinY as Double
- property Origin as NSPointMBS
- property Size as NSSizeMBS
- property Width as Double
- property X as Double
- property Y as Double
- 14 methods
- method Constructor
- method Constructor(p as Ptr)
- method Constructor(s as string)
- method Constructor(X as Double, Y as Double, W as Double, H as Double)
- method Contains(other as NSPointMBS) as boolean
- method Contains(other as NSRectMBS) as boolean
- method Equal(other as NSRectMBS) as boolean
- method Inset(dx as Double, dy as Double) as NSRectMBS
- method Integral as NSRectMBS
- method Intersection(other as NSRectMBS) as NSRectMBS
- method Intersects(other as NSRectMBS) as boolean
- method Operator_Convert as String
- method String as String
- method Union(other as NSRectMBS) as NSRectMBS
- shared method Zero as NSRectMBS
This class has no sub classes.
Some useful global functions for this class:
- NSMakeRectMBS(x as Double, y as Double, w as Double, h as Double) as NSRectMBS
Some methods using this class:
- IKImageBrowserViewMBS.rectOfRow(rowIndex as Integer) as NSRectMBS
- NSBezierPathMBS.appendBezierPathWithRect(rect as NSRectMBS)
- NSBezierPathMBS.appendBezierPathWithRoundedRect(rect as NSRectMBS, xRadius as Double, yRadius as Double)
- NSBezierPathMBS.bezierPathWithRoundedRect(r as NSRectMBS, xRadius as Double, yRadius as Double) as NSBezierPathMBS
- NSGraphicsMBS.drawInRect(text as string, rect as NSRectMBS, DicAttributes as dictionary = nil)
- NSLevelIndicatorMBS.rectOfTickMarkAtIndex(index as Integer) as NSRectMBS
- NSPrintOperationMBS.PDFOperationWithView(view as NSViewMBS, rect as NSRectMBS) as NSPrintOperationMBS
- NSViewMBS.addToolTipRect(rect as NSRectMBS, tooltip as NSViewTooltipMBS)
- NSWindowMBS.dataWithEPSInsideRect(r as NSRectMBS) as Memoryblock
- PDFViewMBS.printWithInfo(printInfo as NSRectMBS, autoRotate as Boolean)
Some properties using for this class:
- AVPlayerViewControlMBS.videoBounds as NSRectMBS
- MKMapViewMBS.annotationVisibleRect as NSRectMBS
- NSBezierPathMBS.Bounds as NSRectMBS
- NSFontMBS.boundingRectForFont as NSRectMBS
- NSPDFImageRepMBS.bounds as NSRectMBS
- NSPrintInfoMBS.imageablePageBounds as NSRectMBS
- NSScreenMBS.frame as NSRectMBS
- NSScreenMBS.visibleFrame as NSRectMBS
- NSScrollViewMBS.documentVisibleRect as NSRectMBS
- NSWindowMBS.contentLayoutRect as NSRectMBS
Some events using this class:
- CustomNSScrollerMBS.drawKnobSlotInRect(g as NSGraphicsMBS, slotRect as NSRectMBS, highlight as boolean)
- CustomNSTextFieldCellMBS.didDrawWithFrame(cellFrame as NSRectMBS, controlView as NSViewMBS)
- CustomNSTextFieldCellMBS.imageRectForBounds(rect as NSRectMBS) as NSRectMBS
- CustomNSTextFieldCellMBS.selectWithFrame(rect as NSRectMBS, controlView as NSViewMBS, text as NSTextMBS, theDelegate as Variant, selStart as Integer, selLength as Integer) as boolean
- CustomNSTextFieldCellMBS.titleRectForBounds(rect as NSRectMBS) as NSRectMBS
- DesktopNSSplitViewControlMBS.drawDivider(graphics as NSGraphicsMBS, Rect as NSRectMBS) as Boolean
- DesktopNSTableControlMBS.toolTipForCell(cell as NSCellMBS, r as NSRectMBS, tableColumn as NSTableColumnMBS, row as Int64, mouseLocation as NSPointMBS) as string
- NSOutlineControlMBS.toolTipForCell(cell as NSCellMBS, byref rect as NSRectMBS, tableColumn as NSTableColumnMBS, item as NSOutlineViewItemMBS, mouseLocation as NSPointMBS) as String
- NSWindowDelegateMBS.windowWillUseStandardFrame(win as NSWindowMBS, newFrame as NSRectMBS) as NSRectMBS
- QLPreviewPanelMBS.transitionImageForPreviewItem(file as folderitem, byref contentRect as NSRectMBS) as NSImageMBS
Some examples using this class:
- /MacCocoa/Font PopupMenu in Cocoa
- /MacCocoa/NSStatusItem/Statusitem with PopOver
- /MacCocoa/NSStatusItem/Statusitem with PopOver using Container
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
- /MacControls/NSCollectionView Test
- /MacFrameworks/CustomNSScroller/Dark scrollbar
- /PDFKit/PDFView/PDFView overlay/PDFView overlay
- /PDFKit/Search and Highlight/Search and Highlight
Blog Entries
- Several ways for picture to PDF in MBS Plugins
- MBS Xojo Plugins, version 17.3pr4
- MBS Xojo / Real Studio Plugins, version 16.1pr1
- Apply fonts to font PopupMenu
- MBS Real Studio Plugins, version 12.1pr1
- MBS REALbasic plug-in 9.6
Release notes
- Version 17.3
- Added MinY, MinX, MidY, MidX, MaxY and MaxX for NSRectMBS class.
The items on this page are in the following plugins: MBS Main Plugin.
NSRangeMBS - NSRegularExpressionMBS