MonobjcMonobjc Documented Class Library
MakeTranslation Method (tx, ty)
NamespacesMonobjc.ApplicationServicesCGAffineTransformMakeTranslation(Single, Single)

Returns an affine transformation matrix constructed from translation values you provide.

Original signature is : CGAffineTransform CGAffineTransformMakeTranslation ( CGFloat tx, CGFloat ty );

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGAffineTransform MakeTranslation(
	float tx,
	float ty
)
Public Shared Function MakeTranslation ( _
	tx As Single, _
	ty As Single _
) As CGAffineTransform
public:
static CGAffineTransform MakeTranslation(
	float tx, 
	float ty
)
Parameters
tx (Single)
The value by which to move the x-axis of the coordinate system.
ty (Single)
The value by which to move the y-axis of the coordinate system.
Return Value
A new affine transform matrix.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)