mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-04-05 17:37:51 +08:00
80 lines
970 B
C#
80 lines
970 B
C#
using CPF.Mac.ObjCRuntime;
|
|
using System;
|
|
|
|
namespace CPF.Mac.CoreImage
|
|
{
|
|
[Since(6, 0)]
|
|
public class CISwipeTransition : CITransitionFilter
|
|
{
|
|
public float Angle
|
|
{
|
|
get
|
|
{
|
|
return GetFloat("inputAngle");
|
|
}
|
|
set
|
|
{
|
|
SetFloat("inputAngle", value);
|
|
}
|
|
}
|
|
|
|
public CIColor Color
|
|
{
|
|
get
|
|
{
|
|
return GetColor("inputColor");
|
|
}
|
|
set
|
|
{
|
|
SetValue("inputColor", value);
|
|
}
|
|
}
|
|
|
|
public CIVector Extent
|
|
{
|
|
get
|
|
{
|
|
return GetVector("inputExtent");
|
|
}
|
|
set
|
|
{
|
|
SetValue("inputExtent", value);
|
|
}
|
|
}
|
|
|
|
public float Opacity
|
|
{
|
|
get
|
|
{
|
|
return GetFloat("inputOpacity");
|
|
}
|
|
set
|
|
{
|
|
SetFloat("inputOpacity", value);
|
|
}
|
|
}
|
|
|
|
public float Width
|
|
{
|
|
get
|
|
{
|
|
return GetFloat("inputWidth");
|
|
}
|
|
set
|
|
{
|
|
SetFloat("inputWidth", value);
|
|
}
|
|
}
|
|
|
|
public CISwipeTransition()
|
|
: base("CISwipeTransition")
|
|
{
|
|
}
|
|
|
|
public CISwipeTransition(IntPtr handle)
|
|
: base(handle)
|
|
{
|
|
}
|
|
}
|
|
}
|