public static class HemfMisc.EmfCreateDibPatternBrushPt extends HwmfMisc.WmfDibCreatePatternBrush implements HemfRecord
Modifier and Type | Field and Description |
---|---|
protected int |
brushIdx |
colorUsage, patternDib, style
Constructor and Description |
---|
EmfCreateDibPatternBrushPt() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
(绘制记录,默认重定向到父WMF记录绘制)
|
int |
getBrushIdx() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfRecordType |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis, long recordSize, long recordId)
Init record from stream
(从流初始化记录)
|
applyObject, draw, getBMPData, getColorUsage, getImage, getStyle, getWmfRecordType, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcBounds, setHeader
getGenericChildren
getImage
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(HemfGraphics ctx)
HemfRecord
draw
in interface
HemfRecord
(在界面 HemfRecord 中绘制)
ctx
- the drawing context
(ctx - 绘图上下文)
public int getBrushIdx()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
HwmfMisc.WmfDibCreatePatternBrush
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.