public static class HemfFill.EmfFrameRgn extends HwmfDraw.WmfFrameRegion implements HemfRecord
brushIndex, height, regionIndex, width
Constructor and Description |
---|
EmfFrameRgn() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
HemfRecordType |
getEmfRecordType() |
protected java.awt.Shape |
getShape() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
getWmfRecordType, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, setHeader
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface HemfRecord
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
draw
in class HwmfDraw.WmfFrameRegion
ctx
- the graphics context to modifyprotected java.awt.Shape getShape()
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.