CGAffineTransformMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGAffineTransformMBS class.

CGAffineTransformMBS.Identity as CGAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The identity transform: [ 1 0 0 1 0 0 ].

CGAffineTransformMBS.Make(a as double, b as double, c as double, d as double, tx as double = 0.0, ty as double = 0.0) as CGAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Return the transform [ a b c d tx ty ].

CGAffineTransformMBS.MakeRotation(angle as Double) as CGAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Return a transform which rotates by 'angle' radians: t' = [ cos(angle) sin(angle) -sin(angle) cos(angle) 0 0 ]

CGAffineTransformMBS.MakeScale(sx as Double, sy as Double) as CGAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Return a transform which scales by '(sx, sy)': t' = [ sx 0 0 sy 0 0 ]

CGAffineTransformMBS.MakeTranslation(tx as Double, ty as Double) as CGAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Return a transform which translates by '(tx, ty)': t' = [ 1 0 0 1 tx ty ]

Some examples using this method:

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


💬 Ask a question or report a problem