Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class dBitmap

Methods

Applications use the dBitmap class to create and manage bitmaps.

public class dBitmap implements IdBitmap
{
  public void filename(String val);
  public void initWidth(int val);
  public int width();
  public void initHeight(int val);
  public int height();
  public int loaded();
  public int InternalGetBitmap();
}

The methods are as follows:
filename
initWidth
width
initHeight
height
loaded


Methods


filename

public void filename(String val);

Sets the name of the file containing the bitmap data.

Return Value:

No return value.

ParameterDescription
val The name of the bitmap file.


initWidth

public void initWidth(int val);

Initializes the width of the bitmap.

Return Value:

No return value.

ParameterDescription
val The initial width, in pixels.


width

public int width();

Retrieves the actual width of the bitmap.

Return Value:

Returns the width in pixels.


initHeight

public void initHeight(int val);

Sets the initial height of the bitmap.

Return Value:

No return value.

ParameterDescription
val The initial height, in pixels.


height

public int height();

Retrieves the actual height of the bitmap.

Return Value:

Returns the height, in pixels.


loaded

public int loaded();

Indicates whether the bitmap data has been loaded.

Return Value:

Returns TRUE if loaded, FALSE otherwise.



Top© 1996 Microsoft Corporation. All rights reserved.