public static class HemfMisc.EmfCreateDibPatternBrushPt extends HwmfMisc.WmfDibCreatePatternBrush implements HemfRecord
HemfRecord.RenderBounds
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
|
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
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
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 void draw(HemfGraphics ctx)
HemfRecord
draw
in interface HemfRecord
ctx
- the drawing contextpublic int getBrushIdx()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
getGenericProperties
in class HwmfMisc.WmfDibCreatePatternBrush
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfRecord
getGenericRecordType
in interface HwmfRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.