Mac Guides | Samples

MonoMac.Foundation.NSAffineTransform Class

NSAffineTransform provides methods for manipulating and applying affine transforms

See Also: NSAffineTransform


[MonoMac.Foundation.Register("NSAffineTransform", true)]
public class NSAffineTransform : NSObject


A transform provides instructions for transforming points from one coordinate system to another. An affine transformation preserves parallel lines.


Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions:

The members of MonoMac.Foundation.NSAffineTransform are listed below.

See Also: NSObject

Public Constructors

Creates a new identity transformation.
Creates a new transformation matching the input value.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.

Public Methods

Caller's transformation is replaced with caller's transformation multiplied by the supplied transformation
Appends the caller's transformation to the current graphics context.
Replaces the transformation in the caller with the inverse of its current transformation.
This transformation is replaced by the supplied transformation multiplied by the this transformation
Appends a rotation factor to this transformation.
Appends a rotation factor to this transformation.
Appends the scale factor to both axis in this transformation.
Scale(Single, Single)
Appends the scale factors to this transformation.
Sets the transformation used by the current graphics context to this transformation.
TransformBezierPath(NSBezierPath) : NSBezierPath
TransformPoint(PointF) : PointF
Gets the transformed coordinates of a point.
TransformSize(SizeF) : SizeF
Applies this transformation to size and returns the result.
Translate(Single, Single)
Applies the given translation distances to this transformation