Flash'In'App - ESFlashZoomPreview - Instance Methods

setFlashView:

Sets ESFlashView, whose value is taken to display image and size.

–(void) setFlashView:(ESFlashView *)value;

Parameter

value - ESFlashView, from whose image and size is taken.

 

flashView

Gets ESFlashView, whose value is taken to display image and size.

– (ESFlashView *) flashView;

Return Value

ESFlashView, from which image and size is taken.

 

setDelegate:

Sets the receiver's delegate to a given object or removes an existing delegate.

 – (void) setDelegate:(id)value;

Parameters

value - the delegate for the receiver. Pass nil to remove an existing delegate.

Discussion

An ESFlashZoomPreview object's delegate is informed about dragging.

 

delegate

Returns the receiver's delegate.  

– (id) delegate;

Return Value

The receiver's delegate, or nil if it doesn't have a delegate.

 

setImageInteroplation:

Sets the interpolation, which will be applied while resizing/drawing image.

– (void)setImageInteroplation:(NSImageInterpolation)value;

Parameters

value - A constant specifying the image-interpolation behavior. The NSImageInterpolation constants are described in NSImageInterpolation.

 

setUpdateSpeed:

Sets image refresh rate.

– (void)setUpdateSpeed:(int)value;

Parameters:

value - sec * 20

 

updateSpeed

Returns image refresh rate.

– (int)updateSpeed;

Return Value

Image refresh rate

 

updateZoomView

Updates movie zoom preview.

– (void)updateZoomView;

 

clearZoomView

Clears movie zoom preview.

– (void)clearZoomView;

 

isStarted

Checks if zoom preview is running.

 – (BOOL)isStarted;

Return value

The method returns YES when the zoom preview is started, otherwise NO.

 

stop

The stop command stops zoom preview drawing.

– (void)stop;

Discussion

If stop method is applied, then zoom preview will display the last image, which was taken. In order to clear it, please, use stopAndClear method.

 

stopAndClear

The stopAndClear command stops and clears the preview window.

– (void)stopAndClear;


See also: