public static class HemfPlusPath.EmfPlusPath extends java.lang.Object implements HemfPlusObject.EmfPlusObjectData, HemfPlusDraw.EmfPlusCompressed, HemfPlusDraw.EmfPlusRelativePosition
COMPRESSED
POSITION
Constructor and Description |
---|
EmfPlusPath() |
Modifier and Type | Method and Description |
---|---|
void |
applyObject(HemfGraphics ctx, java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData) |
int |
getFlags() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.lang.Enum |
getGenericRecordType() |
HemfPlusHeader.EmfPlusGraphicsVersion |
getGraphicsVersion() |
java.awt.geom.Path2D |
getPath() |
java.awt.geom.Path2D |
getPath(int windingRule) |
java.awt.geom.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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isContinuedRecord
getGenericChildren
getReadRect, isCompressed
isRelativePosition
public long init(LittleEndianInputStream leis, long dataSize, HemfPlusObject.EmfPlusObjectType objectType, int flags) throws java.io.IOException
init
in interface
HemfPlusObject.EmfPlusObjectData
(在接口 HemfPlusObject.EmfPlusObjectData 中初始化)
java.io.IOException
(java.io.IOException)
public HemfPlusHeader.EmfPlusGraphicsVersion getGraphicsVersion()
getGraphicsVersion
in interface
HemfPlusObject.EmfPlusObjectData
(接口 HemfPlusObject.EmfPlusObjectData 中的 getGraphicsVersion)
public boolean isPointDashed(int index)
public boolean isPointMarker(int index)
public boolean isPointClosed(int index)
public HemfPlusPath.EmfPlusPathPointType getPointType(int index)
public int getFlags()
getFlags
in interface
HemfPlusDraw.EmfPlusCompressed
(接口 HemfPlusDraw.EmfPlusCompressed 中的 getFlags)
getFlags
in interface
HemfPlusDraw.EmfPlusRelativePosition
(接口 HemfPlusDraw.EmfPlusRelativePosition 中的 getFlags)
public java.awt.geom.Point2D getPoint(int index)
public void applyObject(HemfGraphics ctx, java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)
applyObject
in interface
HemfPlusObject.EmfPlusObjectData
(接口 HemfPlusObject.EmfPlusObjectData 中的 applyObject)
public java.awt.geom.Path2D getPath()
public java.awt.geom.Path2D getPath(int windingRule)
public java.lang.Enum getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.