Xoetrope
HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Carousel logo

XRenderingSemaphore

class com.xoetrope.svg.XRenderingSemaphore

Used for zooming to a region in an SVG image by selecting the region using the 'CTRL' key in conjunction with the mouse.

1. Constructor


public XRenderingSemaphore( int value )

Creates a new instance of XRenderingSemaphore taking an integer value which will be the initial value of the semaphore.

2. Methods


1. acquire

public void acquire()

Decreaments the semaphore value and calls wait() on any other trying to call the render method.

2. release

public void release()

Increments the semaphore value and notifies any waiting threads that they may call the render method.

There are no comments on this page. [Add comment]

Page was generated in 0.4395 seconds