CAConstraint.Create Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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
Возвращаемое значение
- Атрибуты