Class HemfPlusPath.EmfPlusPath
- java.lang.Object
-
- org.apache.poi.hemf.record.emfplus.HemfPlusPath.EmfPlusPath
-
- All Implemented Interfaces:
GenericRecord,HemfPlusDraw.EmfPlusCompressed,HemfPlusDraw.EmfPlusRelativePosition,HemfPlusObject.EmfPlusObjectData
- Direct Known Subclasses:
HemfPlusRegion.EmfPlusRegionPath
- Enclosing class:
- HemfPlusPath
public static class HemfPlusPath.EmfPlusPath extends Object implements HemfPlusObject.EmfPlusObjectData, HemfPlusDraw.EmfPlusCompressed, HemfPlusDraw.EmfPlusRelativePosition
-
-
Field Summary
-
Fields inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusCompressed
COMPRESSED
-
Fields inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusRelativePosition
POSITION
-
-
Constructor Summary
Constructors Constructor Description EmfPlusPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyObject(HemfGraphics ctx, List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)intgetFlags()Map<String,Supplier<?>>getGenericProperties()EnumgetGenericRecordType()HemfPlusHeader.EmfPlusGraphicsVersiongetGraphicsVersion()Path2DgetPath()Path2DgetPath(int windingRule)Point2DgetPoint(int index)HemfPlusPath.EmfPlusPathPointTypegetPointType(int index)longinit(LittleEndianInputStream leis, long dataSize, HemfPlusObject.EmfPlusObjectType objectType, int flags)booleanisPointClosed(int index)booleanisPointDashed(int index)booleanisPointMarker(int index)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Methods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusCompressed
getReadRect, isCompressed
-
Methods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusDraw.EmfPlusRelativePosition
isRelativePosition
-
Methods inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusObject.EmfPlusObjectData
isContinuedRecord
-
-
-
-
Method Detail
-
init
public long init(LittleEndianInputStream leis, long dataSize, HemfPlusObject.EmfPlusObjectType objectType, int flags) throws IOException
- Specified by:
initin interfaceHemfPlusObject.EmfPlusObjectData- Throws:
IOException
-
getGraphicsVersion
public HemfPlusHeader.EmfPlusGraphicsVersion getGraphicsVersion()
- Specified by:
getGraphicsVersionin interfaceHemfPlusObject.EmfPlusObjectData
-
isPointDashed
public boolean isPointDashed(int index)
-
isPointMarker
public boolean isPointMarker(int index)
-
isPointClosed
public boolean isPointClosed(int index)
-
getPointType
public HemfPlusPath.EmfPlusPathPointType getPointType(int index)
-
getFlags
public int getFlags()
- Specified by:
getFlagsin interfaceHemfPlusDraw.EmfPlusCompressed- Specified by:
getFlagsin interfaceHemfPlusDraw.EmfPlusRelativePosition
-
getPoint
public Point2D getPoint(int index)
-
applyObject
public void applyObject(HemfGraphics ctx, List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
- Specified by:
applyObjectin interfaceHemfPlusObject.EmfPlusObjectData
-
getPath
public Path2D getPath()
-
getPath
public Path2D getPath(int windingRule)
-
getGenericRecordType
public Enum getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-