CAConstraint.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- attribute
- CAConstraintAttribute
- 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
參數
- attribute
- CAConstraintAttribute
- relativeToSource
- String
- srcAttr
- CAConstraintAttribute
- 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
參數
- attribute
- CAConstraintAttribute
- relativeToSource
- String
- srcAttr
- CAConstraintAttribute
- scale
- nfloat
- offset
- nfloat
傳回
- 屬性