Metafile Class

Metafile Class

This Package | All Packages

Image
  |
  +--Metafile
public class Metafile
extends Image
implements IPersistable

Implements a Windows metafile as a WFC object.

Fields
Name Description
EMR_HEADER Topic under construction.
handle Topic under construction.

Constructors
Name Description
Metafile(Rectangle bounds) Topic under construction.
Metafile(String filename) Topic under construction.
Metafile(int hEMF, boolean fOwned) Topic under construction.
Metafile(int hEMF) Topic under construction.
Metafile(Class type, String resource) Topic under construction.
Metafile(IDataStream stream) Topic under construction.
Metafile(IStream stream) Topic under construction.
Metafile(IPicture picture) Topic under construction.

Methods
Name Description
clone() Topic under construction.
copyHandle(int h) Retrieves a copy of the metafile.
copyHandle() Retrieves a copy of the metafile.
dispose() Topic under construction.
drawStretchTo(Graphics g, int x, int y, int width, int height, int rop) Topic under construction.
drawTo(Graphics g, int x, int y, int width, int height, int rop) Topic under construction.
finalize() Topic under construction.
getEnhMetaFileHeader(ENHMETAHEADER emh) Topic under construction.
getExtension() Topic under construction.
getGraphics() Topic under construction.
getHandle() Topic under construction.
getPICTDESC() Topic under construction.
getSize() Topic under construction.
toString() Topic under construction.

Fields

Metafile.EMR_HEADER

Syntax
public static final int EMR_HEADER;
Description
Topic under construction.

Metafile.handle

Syntax
public int handle;
Description
Topic under construction.

Constructors

Metafile.Metafile

Syntax 1
public Metafile( Rectangle bounds );
Description

Topic under construction.



Syntax 2
public Metafile( String filename );
Description

Topic under construction.



Syntax 3
public Metafile( int hEMF, boolean fOwned );
Description

Topic under construction.



Syntax 4
public Metafile( int hEMF );
Description

Topic under construction.



Syntax 5
public Metafile( Class type, String resource );
Description

Topic under construction.



Syntax 6
public Metafile( IDataStream stream );
Description

Topic under construction.



Syntax 7
public Metafile( IStream stream );
Description

Topic under construction.



Syntax 8
public Metafile( IPicture picture );
Description

Topic under construction.

Methods

Metafile.clone

Syntax
public Object clone();
Description

Topic under construction.

Metafile.copyHandle

Syntax 1
public static int copyHandle( int h );
Parameters
h
The handle to the metafile.
Description

Retrieves a copy of the metafile.



Syntax 2
public static int copyHandle();
Description

Retrieves a copy of the metafile.

Metafile.dispose

Syntax
public void dispose();
Description

Topic under construction.

Metafile.drawStretchTo

Syntax
public void drawStretchTo( Graphics g, int x, int y, int width, int height, int rop );
Description

Topic under construction.

Metafile.drawTo

Syntax
public void drawTo( Graphics g, int x, int y, int width, int height, int rop );
Description

Topic under construction.

Metafile.finalize

Syntax
public void finalize();
Description

Topic under construction.

Overrides

finalize() in Image.

Metafile.getEnhMetaFileHeader

Syntax
public ENHMETAHEADER getEnhMetaFileHeader( ENHMETAHEADER emh );
Description

Topic under construction.

Metafile.getExtension

Syntax
public String getExtension();
Description

Topic under construction.

Metafile.getGraphics

Syntax
public Graphics getGraphics();
Description

Topic under construction.

Metafile.getHandle

Syntax
public int getHandle();
Description

Topic under construction.

Metafile.getPICTDESC

Syntax
public PICTDESC getPICTDESC();
Description

Topic under construction.

Metafile.getSize

Syntax
public Point getSize();
Description

Topic under construction.

Metafile.toString

Syntax
public String toString();
Description

Topic under construction.

Overrides

toString() in Image.