public static class HemfMisc.EmfModifyWorldTransform extends java.lang.Object implements HemfRecord
| Modifier and Type | Field and Description |
|---|---|
protected HemfHeader |
header |
protected HemfMisc.HemfModifyWorldTransformMode |
modifyWorldTransformMode |
protected java.awt.geom.AffineTransform |
xForm |
| Constructor and Description |
|---|
EmfModifyWorldTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfMisc.HemfModifyWorldTransformMode |
getModifyWorldTransformMode() |
java.awt.geom.AffineTransform |
getXForm() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
void |
setHeader(HemfHeader header)
Sets the header reference, in case the record needs to refer to it
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalcBounds, getGenericRecordTypegetGenericChildrenprotected final java.awt.geom.AffineTransform xForm
protected HemfMisc.HemfModifyWorldTransformMode modifyWorldTransformMode
protected HemfHeader header
public HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformedpublic void setHeader(HemfHeader header)
HemfRecordsetHeader in interface HemfRecordheader - the emf headerpublic void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.awt.geom.AffineTransform getXForm()
public HemfMisc.HemfModifyWorldTransformMode getModifyWorldTransformMode()
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.