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 void
applyObject(HemfGraphics ctx, List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
int
getFlags()
Map<String,Supplier<?>>
getGenericProperties()
Enum
getGenericRecordType()
HemfPlusHeader.EmfPlusGraphicsVersion
getGraphicsVersion()
Path2D
getPath()
Path2D
getPath(int windingRule)
Point2D
getPoint(int index)
HemfPlusPath.EmfPlusPathPointType
getPointType(int index)
long
init(LittleEndianInputStream leis, long dataSize, HemfPlusObject.EmfPlusObjectType objectType, int flags)
boolean
isPointClosed(int index)
boolean
isPointDashed(int index)
boolean
isPointMarker(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:
init
in interfaceHemfPlusObject.EmfPlusObjectData
- Throws:
IOException
-
getGraphicsVersion
public HemfPlusHeader.EmfPlusGraphicsVersion getGraphicsVersion()
- Specified by:
getGraphicsVersion
in 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:
getFlags
in interfaceHemfPlusDraw.EmfPlusCompressed
- Specified by:
getFlags
in interfaceHemfPlusDraw.EmfPlusRelativePosition
-
getPoint
public Point2D getPoint(int index)
-
applyObject
public void applyObject(HemfGraphics ctx, List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
- Specified by:
applyObject
in interfaceHemfPlusObject.EmfPlusObjectData
-
getPath
public Path2D getPath()
-
getPath
public Path2D getPath(int windingRule)
-
getGenericRecordType
public Enum getGenericRecordType()
- Specified by:
getGenericRecordType
in interfaceGenericRecord
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
-