public static class HwmfDraw.WmfFrameRegion extends java.lang.Object implements HwmfRecord
| Modifier and Type | Field and Description |
|---|---|
protected int |
brushIndex
A 16-bit unsigned integer used to index into the WMF Object Table to get the
Brush to use for filling the region.
|
protected java.awt.geom.Dimension2D |
frame
The region frame, in logical units
|
protected int |
regionIndex
A 16-bit unsigned integer used to index into the WMF Object Table to get
the region to be framed.
|
| Constructor and Description |
|---|
WmfFrameRegion() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
int |
getBrushIndex() |
java.awt.geom.Dimension2D |
getFrame() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getRegionIndex() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericRecordTypegetGenericChildrenprotected int regionIndex
protected int brushIndex
protected final java.awt.geom.Dimension2D frame
public HwmfRecordType getWmfRecordType()
getWmfRecordType in interface HwmfRecordpublic int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamjava.io.IOExceptionpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifypublic int getRegionIndex()
public int getBrushIndex()
public java.awt.geom.Dimension2D getFrame()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.