Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPointMBS class.

NSPointMBS.Constructor
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Creates an empty point.
Example:
dim p as new NSPointMBS
MsgBox p // shows {0 ,0}

See also:

NSPointMBS.Constructor(p as Ptr)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 17.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Creates a new instance using data at the pointer.
Notes: Make sure the pointer is valid and has the right data and size.

See also:

NSPointMBS.Constructor(s as string)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Creates a new NSPoint object using the given string.
Example:
dim p as new NSPointMBS("{3,4}")
MsgBox p // shows {3 ,4}

See also:

NSPointMBS.Constructor(x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Creates a new NSPoint object using the given values.

See also:

NSPointMBS.Equal(other as NSPointMBS) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Whether two points are equal.
NSPointMBS.Operator_Convert as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Converts the object to string.
Example:
dim p as new NSPointMBS(1,2)

MsgBox p // shows {1 ,2}
NSPointMBS.String as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Returns the string representation of this point.
Example:
dim p as new NSPointMBS(1,2)

MsgBox p.String // shows {1,2}

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


💬 Ask a question or report a problem
The biggest plugin in space...


Start Chat