Share via


CAConstraint.Create Method

Definition

Overloads

Create(CAConstraintAttribute, String, CAConstraintAttribute)

[Foundation.Export("constraintWithAttribute:relativeTo:attribute:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreAnimation.CAConstraint Create(CoreAnimation.CAConstraintAttribute attribute, string relativeToSource, CoreAnimation.CAConstraintAttribute srcAttribute);
[<Foundation.Export("constraintWithAttribute:relativeTo:attribute:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreAnimation.CAConstraintAttribute * string * CoreAnimation.CAConstraintAttribute -> CoreAnimation.CAConstraint

Parameters

relativeToSource
String
srcAttribute
CAConstraintAttribute

Returns

Attributes

Applies to

Create(CAConstraintAttribute, String, CAConstraintAttribute, NFloat)

[Foundation.Export("constraintWithAttribute:relativeTo:attribute:offset:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreAnimation.CAConstraint Create(CoreAnimation.CAConstraintAttribute attribute, string relativeToSource, CoreAnimation.CAConstraintAttribute srcAttr, System.Runtime.InteropServices.NFloat offset);
[<Foundation.Export("constraintWithAttribute:relativeTo:attribute:offset:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreAnimation.CAConstraintAttribute * string * CoreAnimation.CAConstraintAttribute * System.Runtime.InteropServices.NFloat -> CoreAnimation.CAConstraint

Parameters

relativeToSource
String
offset
NFloat

Returns

Attributes

Applies to

Create(CAConstraintAttribute, String, CAConstraintAttribute, NFloat, NFloat)

[Foundation.Export("constraintWithAttribute:relativeTo:attribute:scale:offset:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreAnimation.CAConstraint Create(CoreAnimation.CAConstraintAttribute attribute, string relativeToSource, CoreAnimation.CAConstraintAttribute srcAttr, System.Runtime.InteropServices.NFloat scale, System.Runtime.InteropServices.NFloat offset);
[<Foundation.Export("constraintWithAttribute:relativeTo:attribute:scale:offset:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreAnimation.CAConstraintAttribute * string * CoreAnimation.CAConstraintAttribute * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> CoreAnimation.CAConstraint

Parameters

relativeToSource
String
scale
NFloat
offset
NFloat

Returns

Attributes

Applies to