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)
- CustomNSSearchFieldMBS.draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- CustomNSTextFieldMBS.draggingSessionEndedAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as Integer)
- CustomNSTextFieldMBS.draggingSessionMovedToPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- CustomNSTextViewMBS.draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- CustomPDFViewMBS.draggingSessionMovedToPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- CustomPDFViewMBS.draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- DesktopNSTableControlMBS.draggingSessionWillBegin(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, rowIndexes as NSIndexSetMBS)
- NSViewTooltipMBS.stringForToolTip(point as NSPointMBS) as string
- NSWindowDelegateMBS.shouldDragDocumentWithEvent(win as NSWindowMBS, evnt as NSEventMBS, dragImageLocation as NSPointMBS, pasteboard as Variant) as boolean
Some examples using this class:
- /MacBase/Custom NSWindows/NSWindow like AppStore/AppStore NSWindow
- /MacCocoa/Custom NSViewControl Drag
- /MacControls/Custom NSView Drag
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /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/Tooltip
- /MacControls/Use Scrollview with ContainerControl
- /MacExtras/Attached Window
- /MacExtras/MAAttachedWindow/MAAttachedWindow Demo
Blog Entries
The items on this page are in the following plugins: MBS Main Plugin.