MonobjcMonobjc Documented Class Library
ConvertTimeFromLayer Method (timeInterval, layer)
NamespacesMonobjc.QuartzCoreCALayerConvertTimeFromLayer(Double, CALayer)

Converts the time interval from the specified layer’s time space to the receiver’s time space.

Original signature is '- (CFTimeInterval)convertTime:(CFTimeInterval)timeInterval fromLayer:(CALayer *)layer'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual double ConvertTimeFromLayer(
	double timeInterval,
	CALayer layer
)
Public Overridable Function ConvertTimeFromLayer ( _
	timeInterval As Double, _
	layer As CALayer _
) As Double
public:
virtual double ConvertTimeFromLayer(
	double timeInterval, 
	CALayer^ layer
)
Parameters
timeInterval (Double)
A point specifying a location in the coordinate system of layer.
layer (CALayer)
The layer with timeInterval in its time space. The receiver and layer and must share a common parent layer.
Return Value
The time interval converted to the receiver’s time space.
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)