public static class HemfMisc.EmfCreateMonoBrush extends java.lang.Object implements HemfRecord, HwmfObjectTableEntry
HemfRecord.RenderBounds| Modifier and Type | Field and Description |
|---|---|
protected HwmfBitmapDib |
bitmap |
protected HwmfFill.ColorUsage |
colorUsage |
protected int |
penIndex
A 32-bit unsigned integer that specifies the index of the logical palette object
in the EMF Object Table.
|
| Constructor and Description |
|---|
EmfCreateMonoBrush() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyObject(HwmfGraphics ctx) |
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HwmfBitmapDib |
getBitmap() |
HwmfFill.ColorUsage |
getColorUsage() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getPenIndex() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalcBounds, getGenericRecordType, setHeadergetGenericChildrenprotected int penIndex
protected HwmfFill.ColorUsage colorUsage
protected final HwmfBitmapDib bitmap
public HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformedpublic void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic void applyObject(HwmfGraphics ctx)
applyObject in interface HwmfObjectTableEntrypublic java.lang.String toString()
toString in class java.lang.Objectpublic int getPenIndex()
public HwmfFill.ColorUsage getColorUsage()
public HwmfBitmapDib getBitmap()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.