Creates and returns a new instance of CAMediaTimingFunction timing function modeled as a cubic Bézier curve using the specified control points.
Original signature is '+ (id)functionWithControlPoints:(float)c1x :(float)c1y :(float)c2x :(float)c2y'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static CAMediaTimingFunction FunctionWithControlPoints( float c1x, float c1y, float c2x, float c2y )
Public Shared Function FunctionWithControlPoints ( _ c1x As Single, _ c1y As Single, _ c2x As Single, _ c2y As Single _ ) As CAMediaTimingFunction
public: static CAMediaTimingFunction^ FunctionWithControlPoints( float c1x, float c1y, float c2x, float c2y )
Parameters
- c1x (Single)
- A floating point number representing the x position of the c1 control point.
- c1y (Single)
- A floating point number representing the y position of the c1 control point.
- c2x (Single)
- A floating point number representing the x position of the c2 control point.
- c2y (Single)
- A floating point number representing the y position of the c2 control point.
Return Value
A new instance of CAMediaTimingFunction with the timing function specified by the provided control points.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)