Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSAffineTransformMBS class.
NSAffineTransformMBS.appendTransform(transform as NSAffineTransformMBS)
Function:
Transforms the transformation by applying the given transform on the current one.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
NSAffineTransformMBS.Constructor
Function:
The constructor to create a new transformation.
Notes: On success the handle property will not be 0.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: On success the handle property will not be 0.
See also:
NSAffineTransformMBS.Constructor(m11 as Double, m12 as Double, m21 as Double, m22 as Double, tx as Double, ty as Double)
Function:
Creates a new NSAffineTransformMBS based on the given values.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSAffineTransformMBS.Constructor(transform as NSAffineTransformMBS)
Function:
Creates a new transformation based on the values of an existing transformation.
Notes: On success the handle property will not be 0.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: On success the handle property will not be 0.
See also:
NSAffineTransformMBS.getValues(byref m11 as Double, byref m12 as Double, byref m21 as Double, byref m22 as Double , byref tx as Double, byref tY as Double)
Function:
Copies all the values from the internal matrix.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.invert
Function:
Inverts the transformation.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.Operator_Convert as String
Function:
Returns stringValue.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.Operator_Multiply(other as NSAffineTransformMBS) as NSAffineTransformMBS
Function:
Multiplies both matrix where self is on the left side.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.Operator_MultiplyRight(other as NSAffineTransformMBS) as NSAffineTransformMBS
Function:
Multiplies both matrix where self is on the right side.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.prependTransform(transform as NSAffineTransformMBS)
Function:
Transforms the transformation by applying the given transform on the current one.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.rotateByDegrees(angle as Double)
Function:
Rotates transformation by the given angle in degrees.
Example:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Example:
dim t as new NSAffineTransformMBS
t.rotateByDegrees 90 // roatet by 90 degrees
NSAffineTransformMBS.rotateByRadians(angle as Double)
Function:
Rotates transformation by the given angle in radians.
Example:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Example:
const pi=3.14159265
dim t as new NSAffineTransformMBS
t.rotateByDegrees pi // roatet by 180 degrees
Some examples using this method:
NSAffineTransformMBS.scale(scale as Double)
Function:
Scales the transformation.
Example:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Example:
dim t as new NSAffineTransformMBS
t.scale 2.0 // double size
See also:
NSAffineTransformMBS.scale(scaleX as Double, scaleY as Double)
Function:
Scales transformation.
Example:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Example:
dim t as new NSAffineTransformMBS
t.scale 1,2
See also:
NSAffineTransformMBS.setValues(m11 as Double, m12 as Double, m21 as Double, m22 as Double , tx as Double, tY as Double)
Function:
Sets all the values from the internal matrix.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.transformBezierPath(NSBezierPath as Variant) as Variant
Function:
Transforms a bezier path with current transformation.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 15.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSAffineTransformMBS.transformPoint(byref x as Double, byref y as Double)
Function:
Transforming the given point.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.transformSize(byref width as Double, byref height as Double)
Function:
Transforming the given size.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSAffineTransformMBS.translate(deltaX as Double, deltaY as Double)
Function:
Translates by the given delta.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS Main Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS Main Plugin.
