MonobjcMonobjc Documented Class Library
ConvertTimeToLayer Method (timeInterval, layer)
NamespacesMonobjc.QuartzCoreCALayerConvertTimeToLayer(Double, CALayer)

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

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

Available in Mac OS X v10.5 and later.

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