public static class HemfMisc.EmfExtCreatePen extends HemfMisc.EmfCreatePen
Modifier and Type | Field and Description |
---|---|
protected HwmfBitmapDib |
bitmap |
protected HwmfBrushStyle |
brushStyle |
protected HwmfHatchStyle |
hatchStyle |
penIndex
colorRef, dimension, penStyle
Constructor and Description |
---|
EmfExtCreatePen() |
Modifier and Type | Method and Description |
---|---|
HwmfBitmapDib |
getBitmap() |
HwmfBrushStyle |
getBrushStyle() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfRecordType |
getGenericRecordType() |
HwmfHatchStyle |
getHatchStyle() |
long |
init(LittleEndianInputStream leis, long recordSize, long recordId)
Init record from stream
(从流初始化记录)
|
java.lang.String |
toString() |
draw, getPenIndex
applyObject, draw, getColorRef, getDimension, getPenStyle, getWmfRecordType, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcBounds, setHeader
getGenericChildren
protected HwmfBrushStyle brushStyle
protected HwmfHatchStyle hatchStyle
protected final HwmfBitmapDib bitmap
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getEmfRecordType)
getEmfRecordType
in class
HemfMisc.EmfCreatePen
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface
HemfRecord
(在接口 HemfRecord 中初始化)
init
in class
HemfMisc.EmfCreatePen
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 java.lang.String toString()
toString
in class
HemfMisc.EmfCreatePen
public HwmfBrushStyle getBrushStyle()
public HwmfHatchStyle getHatchStyle()
public HwmfBitmapDib getBitmap()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
HemfMisc.EmfCreatePen
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HwmfRecord
(接口 HwmfRecord 中的 getGenericRecordType)
getGenericRecordType
in class
HemfMisc.EmfCreatePen
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.