Package org.apache.poi.hemf.record.emf
Class HemfFill.EmfInvertRgn
java.lang.Object
org.apache.poi.hemf.record.emf.HemfFill.EmfInvertRgn
- All Implemented Interfaces:
GenericRecord,HemfRecord
- Direct Known Subclasses:
HemfFill.EmfPaintRgn
- Enclosing class:
- HemfFill
The EMR_INVERTRGN record inverts the colors in the specified region.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.poi.hemf.record.emf.HemfRecord
HemfRecord.RenderBounds -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ShapegetShape()longinit(LittleEndianInputStream leis, long recordSize, long recordId) Init record from streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildrenMethods inherited from interface org.apache.poi.hemf.record.emf.HemfRecord
calcBounds, draw, getGenericRecordType, setHeader
-
Field Details
-
bounds
-
rgnRects
-
-
Constructor Details
-
EmfInvertRgn
public EmfInvertRgn()
-
-
Method Details
-
getEmfRecordType
- Specified by:
getEmfRecordTypein interfaceHemfRecord
-
init
Description copied from interface:HemfRecordInit record from stream- Specified by:
initin interfaceHemfRecord- Parameters:
leis- the little endian input streamrecordSize- the size limit for this recordrecordId- the id of theHemfRecordType- Returns:
- count of processed bytes
- Throws:
IOException- when the inputstream is malformed
-
getShape
-
getBounds
-
getRgnRects
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-