public static class HemfPlusDraw.EmfPlusFillRects extends java.lang.Object implements HemfPlusRecord, HemfPlusDraw.EmfPlusCompressed, HemfPlusDraw.EmfPlusSolidColor
COMPRESSED
SOLID_COLOR
Constructor and Description |
---|
EmfPlusFillRects() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
int |
getBrushIdValue() |
HemfPlusRecordType |
getEmfPlusRecordType() |
int |
getFlags() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfPlusRecordType |
getGenericRecordType() |
java.util.List<java.awt.geom.Rectangle2D> |
getRectData() |
long |
init(LittleEndianInputStream leis,
long dataSize,
long recordId,
int flags)
Init record from stream
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcBounds
getGenericChildren
getReadRect, isCompressed
applyColor, getBrushId, getSolidColor, isSolidColor
public HemfPlusRecordType getEmfPlusRecordType()
getEmfPlusRecordType
in interface HemfPlusRecord
public int getFlags()
getFlags
in interface HemfPlusDraw.EmfPlusCompressed
getFlags
in interface HemfPlusDraw.EmfPlusSolidColor
getFlags
in interface HemfPlusRecord
public long init(LittleEndianInputStream leis, long dataSize, long recordId, int flags) throws java.io.IOException
HemfPlusRecord
init
in interface HemfPlusRecord
leis
- the little endian input streamdataSize
- the size limit for this recordrecordId
- the id of the HemfPlusRecordType
flags
- the record flagsjava.io.IOException
- when the inputstream is malformedpublic void draw(HemfGraphics ctx)
HemfPlusRecord
draw
in interface HemfPlusRecord
ctx
- the drawing contextpublic int getBrushIdValue()
getBrushIdValue
in interface HemfPlusDraw.EmfPlusSolidColor
public java.lang.String toString()
toString
in class java.lang.Object
public HemfPlusRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfPlusRecord
public java.util.List<java.awt.geom.Rectangle2D> getRectData()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.