public static class HwmfDraw.WmfFrameRegion extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected int |
brushIndex
A 16-bit unsigned integer used to index into the WMF Object Table to get the Brush to use for filling the region.
(一个 16 位无符号整数,用于索引 WMF 对象表以获取用于填充区域的画笔。)
|
protected java.awt.geom.Dimension2D |
frame
The region frame, in logical units
(区域框架,以逻辑单元为单位)
|
protected int |
regionIndex
A 16-bit unsigned integer used to index into the WMF Object Table to get the region to be framed.
(一个 16 位无符号整数,用于索引到 WMF 对象表以获取要构图的区域。)
|
Constructor and Description |
---|
WmfFrameRegion() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
(将记录设置应用于图形上下文)
|
int |
getBrushIndex() |
java.awt.geom.Dimension2D |
getFrame() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getRegionIndex() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis, long recordSize, int recordFunction)
Init record from stream
(从流初始化记录)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericRecordType
getGenericChildren
protected int regionIndex
protected int brushIndex
protected final java.awt.geom.Dimension2D frame
public HwmfRecordType getWmfRecordType()
getWmfRecordType
in interface
HwmfRecord
(接口 HwmfRecord 中的 getWmfRecordType)
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface
HwmfRecord
(接口 HwmfRecord 中的 init)
leis
- the little endian input stream
(leis - 小端输入流)
java.io.IOException
(java.io.IOException)
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface
HwmfRecord
(在接口 HwmfRecord 中绘制)
ctx
- the graphics context to modify
(ctx - 要修改的图形上下文)
public int getRegionIndex()
public int getBrushIndex()
public java.awt.geom.Dimension2D getFrame()
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.