iOS Guides | Samples

MonoTouch.UIKit.IUICoordinateSpace

Interface representing the required methods (if any) of the protocol UICoordinateSpace.

See Also: IUICoordinateSpace

Syntax

[MonoTouch.Foundation.Protocol(Name="UICoordinateSpace", WrapperType=typeof(MonoTouch.UIKit.UICoordinateSpaceWrapper))]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ConvertPointToCoordinateSpace", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.CoreGraphics.CGPoint), Selector="convertPoint:toCoordinateSpace:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ConvertPointFromCoordinateSpace", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.CoreGraphics.CGPoint), Selector="convertPoint:fromCoordinateSpace:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ConvertRectToCoordinateSpace", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.CoreGraphics.CGRect), Selector="convertRect:toCoordinateSpace:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ConvertRectFromCoordinateSpace", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.CoreGraphics.CGRect), Selector="convertRect:fromCoordinateSpace:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="bounds", IsProperty=true, IsRequired=true, IsStatic=false, Name="Bounds", PropertyType=typeof(MonoTouch.CoreGraphics.CGRect), Selector="bounds")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public interface IUICoordinateSpace : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by UICoordinateSpace.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UICoordinateSpace protocol.

Optional methods (if any) are provided by the UICoordinateSpace_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.IUICoordinateSpace are listed below.

Public Properties

[read-only]
BoundsRectangleF. Gets the bounding rectangle of the object in its own coordinate space.

Public Methods

ConvertPointFromCoordinateSpace(PointF, IUICoordinateSpace) : PointF
Converts point from coordinateSpace to the coordinate space of the implementor.
ConvertPointToCoordinateSpace(PointF, IUICoordinateSpace) : PointF
Converts point to coordinateSpace from the coordinate space of the implementor.
ConvertRectFromCoordinateSpace(RectangleF, IUICoordinateSpace) : RectangleF
Converts rect from coordinateSpace to the coordinate space of the implementor.
ConvertRectToCoordinateSpace(RectangleF, IUICoordinateSpace) : RectangleF
Converts rect to coordinateSpace from the coordinate space of the implementor.