MonobjcMonobjc Documented Class Library
Translate Method (t, tx, ty)
NamespacesMonobjc.ApplicationServicesCGAffineTransformTranslate(CGAffineTransform, Single, Single)

Returns an affine transformation matrix constructed by translating an existing affine transform.

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

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGAffineTransform Translate(
	CGAffineTransform t,
	float tx,
	float ty
)
Public Shared Function Translate ( _
	t As CGAffineTransform, _
	tx As Single, _
	ty As Single _
) As CGAffineTransform
public:
static CGAffineTransform Translate(
	CGAffineTransform t, 
	float tx, 
	float ty
)
Parameters
t (CGAffineTransform)
An existing affine transform.
tx (Single)
The value by which to move x values with the affine transform.
ty (Single)
The value by which to move y values with the affine transform.
Return Value
A new affine transformation 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)