Microsoft SDK for Java

getColorKey

This method of the DirectDrawSurface Class retrieves the color key value for the DirectDrawSurface object.

Syntax

public void getColorKey(int flags, DDColorKey val);

Parameters

flags One value of DDCKEY_ type, specifying which color key to retrieve information for.
val The DDColorKey object that receives the current values for the specified color key of the DirectDrawSurface object.

See Also

setColorKey

© 1999 Microsoft Corporation. All rights reserved. Terms of use.