Sdílet prostřednictvím


NSCoder_UIGeometryKeyedCoding.Encode Method

Definition

Overloads

Name Description
Encode(NSCoder, CGAffineTransform, String)

Encodes the affine transform and also associates it with the designated key.

Encode(NSCoder, CGPoint, String)
Encode(NSCoder, CGRect, String)
Encode(NSCoder, CGSize, String)
Encode(NSCoder, CGVector, String)

Encodes the vector and also associates it with the designated key.

Encode(NSCoder, NSDirectionalEdgeInsets, String)
Encode(NSCoder, UIEdgeInsets, String)

Encodes the edge insets and also associates them with the designated key.

Encode(NSCoder, UIOffset, String)

Encodes the offset and also associates it with the designated key.

Encode(NSCoder, CGAffineTransform, String)

Encodes the affine transform and also associates it with the designated key.

[Foundation.Export("encodeCGAffineTransform:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, CoreGraphics.CGAffineTransform transform, string forKey);
[<Foundation.Export("encodeCGAffineTransform:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * CoreGraphics.CGAffineTransform * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

transform
CGAffineTransform

The specified affine transform.

forKey
String

Designated key in the receiver archive.

Attributes

Applies to

Encode(NSCoder, CGPoint, String)

[Foundation.Export("encodeCGPoint:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, CoreGraphics.CGPoint point, string forKey);
[<Foundation.Export("encodeCGPoint:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * CoreGraphics.CGPoint * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

point
CGPoint
forKey
String
Attributes

Applies to

Encode(NSCoder, CGRect, String)

[Foundation.Export("encodeCGRect:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, CoreGraphics.CGRect rect, string forKey);
[<Foundation.Export("encodeCGRect:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * CoreGraphics.CGRect * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

rect
CGRect
forKey
String
Attributes

Applies to

Encode(NSCoder, CGSize, String)

[Foundation.Export("encodeCGSize:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, CoreGraphics.CGSize size, string forKey);
[<Foundation.Export("encodeCGSize:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * CoreGraphics.CGSize * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

size
CGSize
forKey
String
Attributes

Applies to

Encode(NSCoder, CGVector, String)

Encodes the vector and also associates it with the designated key.

[Foundation.Export("encodeCGVector:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, CoreGraphics.CGVector vector, string forKey);
[<Foundation.Export("encodeCGVector:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * CoreGraphics.CGVector * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

vector
CGVector

The specified vector.

forKey
String

Designated key in the receiver archive.

Attributes

Applies to

Encode(NSCoder, NSDirectionalEdgeInsets, String)

[Foundation.Export("encodeDirectionalEdgeInsets:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, UIKit.NSDirectionalEdgeInsets directionalEdgeInsets, string forKey);
[<Foundation.Export("encodeDirectionalEdgeInsets:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * UIKit.NSDirectionalEdgeInsets * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

directionalEdgeInsets
NSDirectionalEdgeInsets
forKey
String
Attributes

Applies to

Encode(NSCoder, UIEdgeInsets, String)

Encodes the edge insets and also associates them with the designated key.

[Foundation.Export("encodeUIEdgeInsets:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, UIKit.UIEdgeInsets edgeInsets, string forKey);
[<Foundation.Export("encodeUIEdgeInsets:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * UIKit.UIEdgeInsets * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

edgeInsets
UIEdgeInsets

The specified edge insets.

forKey
String

Designated key in the receiver archive.

Attributes

Applies to

Encode(NSCoder, UIOffset, String)

Encodes the offset and also associates it with the designated key.

[Foundation.Export("encodeUIOffset:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Encode(this Foundation.NSCoder This, UIKit.UIOffset uiOffset, string forKey);
[<Foundation.Export("encodeUIOffset:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : Foundation.NSCoder * UIKit.UIOffset * string -> unit

Parameters

This
NSCoder

The instance on which this method operates.

uiOffset
UIOffset

The specified offset.

forKey
String

Designated key in the receiver archive.

Attributes

Applies to