Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSAffineTransformMBS class.

NSAffineTransformMBS.appendTransform(transform as NSAffineTransformMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Transforms the transformation by applying the given transform on the current one.

Some examples using this method:

NSAffineTransformMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor to create a new transformation.

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)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new NSAffineTransformMBS based on the given values.

See also:

NSAffineTransformMBS.Constructor(transform as NSAffineTransformMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new transformation based on the values of an existing transformation.

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)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Copies all the values from the internal matrix.

NSAffineTransformMBS.invert

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Inverts the transformation.

NSAffineTransformMBS.Operator_Convert as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns stringValue.

NSAffineTransformMBS.Operator_Multiply(other as NSAffineTransformMBS) as NSAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Multiplies both matrix where self is on the left side.

NSAffineTransformMBS.Operator_MultiplyRight(other as NSAffineTransformMBS) as NSAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Multiplies both matrix where self is on the right side.

NSAffineTransformMBS.prependTransform(transform as NSAffineTransformMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Transforms the transformation by applying the given transform on the current one.

NSAffineTransformMBS.rotateByDegrees(angle as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Rotates transformation by the given angle in degrees.
Example
dim t as new NSAffineTransformMBS
t.rotateByDegrees 90 // roatet by 90 degrees

NSAffineTransformMBS.rotateByRadians(angle as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Rotates transformation by the given angle in radians.
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)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Scales the transformation.
Example
dim t as new NSAffineTransformMBS
t.scale 2.0 // double size

See also:

NSAffineTransformMBS.scale(scaleX as Double, scaleY as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Scales transformation.
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)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets all the values from the internal matrix.

NSAffineTransformMBS.transformBezierPath(NSBezierPath as Variant) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Transforms a bezier path with current transformation.

NSAffineTransformMBS.transformPoint(byref x as Double, byref y as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Transforming the given point.

NSAffineTransformMBS.transformSize(byref width as Double, byref height as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Transforming the given size.

NSAffineTransformMBS.translate(deltaX as Double, deltaY as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Translates by the given delta.

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


The biggest plugin in space...