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
Function: 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
Function: The constructor to create a new transformation.
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)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: 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
Function: Creates a new transformation based on the values of an existing transformation.
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)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS Main Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: 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
Function: Translates by the given delta.

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