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
(绘制记录,默认重定向到父WMF记录绘制)
|
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, wait
calcBounds, getGenericRecordType
getGenericChildren
protected final java.awt.geom.AffineTransform xForm
protected HemfMisc.HemfModifyWorldTransformMode modifyWorldTransformMode
protected HemfHeader header
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getEmfRecordType)
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface
HemfRecord
(在接口 HemfRecord 中初始化)
leis
- the little endian input stream
(leis - 小端输入流)
recordSize
- the size limit for this record
(recordSize - 此记录的大小限制)
recordId
- the id of the
HemfRecordType
(recordId - HemfRecordType 的 id)
java.io.IOException
- when the inputstream is malformed
(java.io.IOException - 当输入流格式错误时)
public void setHeader(HemfHeader header)
HemfRecord
setHeader
in interface
HemfRecord
(接口 HemfRecord 中的 setHeader)
header
- the emf header
(header - 电动势标头)
public void draw(HemfGraphics ctx)
HemfRecord
draw
in interface
HemfRecord
(在界面 HemfRecord 中绘制)
ctx
- the drawing context
(ctx - 绘图上下文)
public java.lang.String toString()
toString
in class
java.lang.Object
public java.awt.geom.AffineTransform getXForm()
public HemfMisc.HemfModifyWorldTransformMode getModifyWorldTransformMode()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.