共用方式為


CAConstraint.Create 方法

定義

多載

Create(CAConstraintAttribute, String, CAConstraintAttribute)
Create(CAConstraintAttribute, String, CAConstraintAttribute, nfloat)
Create(CAConstraintAttribute, String, CAConstraintAttribute, nfloat, nfloat)

Create(CAConstraintAttribute, String, CAConstraintAttribute)

[Foundation.Export("constraintWithAttribute:relativeTo:attribute:")]
public static CoreAnimation.CAConstraint Create (CoreAnimation.CAConstraintAttribute attribute, string relativeToSource, CoreAnimation.CAConstraintAttribute srcAttribute);
static member Create : CoreAnimation.CAConstraintAttribute * string * CoreAnimation.CAConstraintAttribute -> CoreAnimation.CAConstraint

參數

relativeToSource
String
srcAttribute
CAConstraintAttribute

傳回

屬性

適用於

Create(CAConstraintAttribute, String, CAConstraintAttribute, nfloat)

[Foundation.Export("constraintWithAttribute:relativeTo:attribute:offset:")]
public static CoreAnimation.CAConstraint Create (CoreAnimation.CAConstraintAttribute attribute, string relativeToSource, CoreAnimation.CAConstraintAttribute srcAttr, nfloat offset);
static member Create : CoreAnimation.CAConstraintAttribute * string * CoreAnimation.CAConstraintAttribute * nfloat -> CoreAnimation.CAConstraint

參數

relativeToSource
String
offset
nfloat

傳回

屬性

適用於

Create(CAConstraintAttribute, String, CAConstraintAttribute, nfloat, nfloat)

[Foundation.Export("constraintWithAttribute:relativeTo:attribute:scale:offset:")]
public static CoreAnimation.CAConstraint Create (CoreAnimation.CAConstraintAttribute attribute, string relativeToSource, CoreAnimation.CAConstraintAttribute srcAttr, nfloat scale, nfloat offset);
static member Create : CoreAnimation.CAConstraintAttribute * string * CoreAnimation.CAConstraintAttribute * nfloat * nfloat -> CoreAnimation.CAConstraint

參數

relativeToSource
String
scale
nfloat
offset
nfloat

傳回

屬性

適用於