Platforms to show: All Mac Windows Linux Cross-Platform
NSPointMBS 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(x as Double, y as Double)
- method Equal(other as NSPointMBS) as boolean
- method Operator_Convert as String
- method String as String
- shared method Zero as NSPointMBS
This class has no sub classes.
Some useful global functions for this class:
- NSMakePointMBS(x as Double, y as Double) as NSPointMBS
Some methods using this class:
- MAAttachedWindowMBS.Constructor(view as NSViewMBS, point as NSPointMBS = nil, window as NSWindowMBS = nil, onSide as Integer = 12, distance as Double = 0.0)
- NSBezierPathMBS.lineToPoint(p as NSPointMBS)
- NSCoderMBS.decodePoint(key as string) as NSPointMBS
- NSGraphicsMBS.strokeLine(point1 as NSPointMBS, point2 as NSPointMBS)
- NSLayoutManagerMBS.glyphIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS, byref partialFraction as Double) as Integer
- NSScrollerMBS.testPart(p as NSPointMBS) as Integer
- NSSpellCheckerMBS.menuForResult(TextCheckingResult as NSTextCheckingResultMBS, checkedString as string, options as Dictionary = nil, atLocation as NSPointMBS, view as NSViewMBS) as NSMenuMBS
- NSTextContainerMBS.containsPoint(p as NSPointMBS) as boolean
- NSTouchMBS.locationInView(View as NSViewMBS) as NSPointMBS
- NSTouchMBS.previousLocationInView(View as NSViewMBS) as NSPointMBS
Some properties using for this class:
- MKAnnotationViewMBS.CalloutOffset as NSPointMBS
- MKAnnotationViewMBS.leftCalloutOffset as NSPointMBS
- MKAnnotationViewMBS.rightCalloutOffset as NSPointMBS
- NSBezierPathMBS.CurrentPoint as NSPointMBS
- NSCollectionViewLayoutInvalidationContextMBS.contentOffsetAdjustment as NSPointMBS
- NSDraggingInfoMBS.draggedImageLocation as NSPointMBS
- NSDraggingInfoMBS.draggingLocation as NSPointMBS
- PDFAnnotationLineMBS.endPoint as NSPointMBS
- PDFAnnotationMBS.endPoint as NSPointMBS
- PDFAnnotationMBS.startPoint as NSPointMBS
Some events using this class:
- CustomNSScrollerMBS.draggingSessionEndedAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as Integer)
- CustomPDFViewMBS.draggingSessionMovedToPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- DesktopNSCollectionViewControlMBS.draggingImageForItems(indexPaths() as NSIndexPathMBS, NSEvent as NSEventMBS, byref dragImageOffset as NSPointMBS) as NSImageMBS
- DesktopNSOutlineControlMBS.toolTipForCell(cell as NSCellMBS, byref rect as NSRectMBS, tableColumn as NSTableColumnMBS, item as NSOutlineViewItemMBS, mouseLocation as NSPointMBS) as String
- DesktopNSTableControlMBS.draggingSessionWillBegin(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, rowIndexes as NSIndexSetMBS)
- NSCollectionViewControlMBS.draggingImageForItems(indexPaths() as NSIndexPathMBS, NSEvent as NSEventMBS, byref dragImageOffset as NSPointMBS) as NSImageMBS
- NSOutlineControlMBS.draggingSessionEnded(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as Integer)
- NSTableControlMBS.draggingSessionWillBegin(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, rowIndexes as NSIndexSetMBS)
- NSTableViewMBS.toolTipForCell(cell as NSCellMBS, r as NSRectMBS, tableColumn as NSTableColumnMBS, row as Int64, mouseLocation as NSPointMBS) as string
- NSViewControlMBS.draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
Some examples using this class:
- /MacBase/Custom NSWindows/NSWindow like AppStore/AppStore NSWindow
- /MacBase/Custom NSWindows/NSWindow with Pattern/Pattern NSWindow
- /MacBase/Menus/NSMenuPopupEvents
- /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/Tooltip
- /MacExtras/Attached Window
- /MacFrameworks/Cocoa Controls/Custom NSView
- /PDFKit/Create Page with custom stamp annotation
- /PDFKit/Create Page with Page
Blog Entries
- Intercept Menus with MBS Xojo Plugins
- MBS Xojo / Real Studio Plugins, version 16.1pr1
- MBS REALbasic plug-in 9.6
The items on this page are in the following plugins: MBS Main Plugin.
