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
返回
- 属性