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, wait
getGenericRecordType
getGenericChildren
protected int regionIndex
protected int brushIndex
protected final java.awt.geom.Dimension2D frame
public HwmfRecordType getWmfRecordType()
getWmfRecordType
in interface HwmfRecord
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface HwmfRecord
leis
- the little endian input streamjava.io.IOException
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- 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 GenericRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.