public static class HemfFill.EmfExtSelectClipRgn extends java.lang.Object implements HemfRecord
Modifier and Type | Field and Description |
---|---|
protected HwmfRegionMode |
regionMode |
protected java.util.List<java.awt.geom.Rectangle2D> |
rgnRects |
Constructor and Description |
---|
EmfExtSelectClipRgn() |
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() |
HwmfRegionMode |
getRegionMode() |
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
(从流初始化记录)
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcBounds, getGenericRecordType, setHeader
getGenericChildren
protected HwmfRegionMode regionMode
protected final java.util.List<java.awt.geom.Rectangle2D> rgnRects
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 - 当输入流格式错误时)
protected java.awt.Shape getShape()
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 HwmfRegionMode getRegionMode()
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)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.