MonobjcMonobjc Documented Class Library
InitWithControlPoints Method (c1x, c1y, c2x, c2y)
NamespacesMonobjc.QuartzCoreCAMediaTimingFunctionInitWithControlPoints(Single, Single, Single, Single)

Returns an initialized timing function modeled as a cubic Bézier curve using the specified control points.

Original signature is '- (id)initWithControlPoints:(float)c1x :(float)c1y :(float)c2x :(float)c2y'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithControlPoints(
	float c1x,
	float c1y,
	float c2x,
	float c2y
)
Public Overridable Function InitWithControlPoints ( _
	c1x As Single, _
	c1y As Single, _
	c2x As Single, _
	c2y As Single _
) As Id
public:
virtual Id^ InitWithControlPoints(
	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
An 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)