public static class HemfFill.EmfFrameRgn extends HwmfDraw.WmfFrameRegion implements HemfRecord
brushIndex, frame, regionIndex
Constructor and Description |
---|
EmfFrameRgn() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
(将记录设置应用于图形上下文)
|
java.awt.geom.Rectangle2D |
getBounds() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfRecordType |
getGenericRecordType() |
java.util.List<java.awt.geom.Rectangle2D> |
getRgnRects() |
protected java.awt.Shape |
getShape() |
long |
init(LittleEndianInputStream leis, long recordSize, long recordId)
Init record from stream
(从流初始化记录)
|
getBrushIndex, getFrame, getRegionIndex, getWmfRecordType, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcBounds, draw, setHeader
getGenericChildren
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 draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface
HwmfRecord
(在接口 HwmfRecord 中绘制)
draw
in class
HwmfDraw.WmfFrameRegion
ctx
- the graphics context to modify
(ctx - 要修改的图形上下文)
protected java.awt.Shape getShape()
public java.awt.geom.Rectangle2D getBounds()
public java.util.List<java.awt.geom.Rectangle2D> getRgnRects()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
HwmfDraw.WmfFrameRegion
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HwmfRecord
(接口 HwmfRecord 中的 getGenericRecordType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.