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
getEmfRecordType
in class HemfMisc.EmfCreatePen
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
init
in class HemfMisc.EmfCreatePen
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic 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
getGenericProperties
in class HemfMisc.EmfCreatePen
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfRecord
getGenericRecordType
in interface HwmfRecord
getGenericRecordType
in class HemfMisc.EmfCreatePen
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.