Class HemfPlusDraw.EmfPlusDrawImagePoints
java.lang.Object
org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusDrawImagePoints
- All Implemented Interfaces:
GenericRecord,HemfPlusDraw.EmfPlusCompressed,HemfPlusDraw.EmfPlusRelativePosition,HemfPlusMisc.EmfPlusObjectId,HemfPlusRecord
- Enclosing class:
- HemfPlusDraw
public static class HemfPlusDraw.EmfPlusDrawImagePoints
extends Object
implements HemfPlusRecord, HemfPlusMisc.EmfPlusObjectId, HemfPlusDraw.EmfPlusCompressed, HemfPlusDraw.EmfPlusRelativePosition
The EmfPlusDrawImagePoints record specifies drawing a scaled image inside a parallelogram.
-
Field Summary
Fields inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusCompressed
COMPRESSEDFields inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusRelativePosition
POSITIONFields inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusMisc.EmfPlusObjectId
OBJECT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(HemfGraphics ctx) Draws the record, the default redirects to the parent WMF record drawingintgetFlags()longinit(LittleEndianInputStream leis, long dataSize, long recordId, int flags) Init record from streamtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildrenMethods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusCompressed
getReadRect, isCompressedMethods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusRelativePosition
isRelativePositionMethods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusMisc.EmfPlusObjectId
getObjectIdMethods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusRecord
calcBounds, getGenericRecordType
-
Constructor Details
-
EmfPlusDrawImagePoints
public EmfPlusDrawImagePoints()
-
-
Method Details
-
getEmfPlusRecordType
- Specified by:
getEmfPlusRecordTypein interfaceHemfPlusRecord
-
getFlags
public int getFlags()- Specified by:
getFlagsin interfaceHemfPlusDraw.EmfPlusCompressed- Specified by:
getFlagsin interfaceHemfPlusDraw.EmfPlusRelativePosition- Specified by:
getFlagsin interfaceHemfPlusMisc.EmfPlusObjectId- Specified by:
getFlagsin interfaceHemfPlusRecord
-
init
public long init(LittleEndianInputStream leis, long dataSize, long recordId, int flags) throws IOException Description copied from interface:HemfPlusRecordInit record from stream- Specified by:
initin interfaceHemfPlusRecord- Parameters:
leis- the little endian input streamdataSize- the size limit for this recordrecordId- the id of theHemfPlusRecordTypeflags- the record flags- Returns:
- count of processed bytes
- Throws:
IOException- when the inputstream is malformed
-
draw
Description copied from interface:HemfPlusRecordDraws the record, the default redirects to the parent WMF record drawing- Specified by:
drawin interfaceHemfPlusRecord- Parameters:
ctx- the drawing context
-
toString
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-