public static class HwmfMisc.WmfRestoreDc extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected int |
nSavedDC
nSavedDC (2 bytes): A 16-bit signed integer that defines the saved state to be restored.
|
Constructor and Description |
---|
WmfRestoreDc() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getNSavedDC() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericRecordType
getGenericChildren
protected int nSavedDC
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 java.lang.String toString()
toString
in class java.lang.Object
public int getNSavedDC()
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.