Package org.apache.poi.hemf.record.emf
Class HemfDraw.EmfPolyline
java.lang.Object
org.apache.poi.hwmf.record.HwmfDraw.WmfPolygon
org.apache.poi.hemf.record.emf.HemfDraw.EmfPolygon
org.apache.poi.hemf.record.emf.HemfDraw.EmfPolyline
- All Implemented Interfaces:
GenericRecord,HemfRecord,HwmfRecord
- Direct Known Subclasses:
HemfDraw.EmfPolyline16,HemfDraw.EmfPolylineTo
- Enclosing class:
- HemfDraw
The EMR_POLYLINE record specifies a series of line segments by connecting the points in the
specified array.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.poi.hemf.record.emf.HemfRecord
HemfRecord.RenderBounds -
Field Summary
Fields inherited from class org.apache.poi.hwmf.record.HwmfDraw.WmfPolygon
poly -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddClose()protected HwmfGraphics.FillDrawStyleMethods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfPolygon
calcBounds, draw, getBounds, getGenericProperties, getGenericRecordType, hasStartPoint, init, readPointMethods inherited from class org.apache.poi.hwmf.record.HwmfDraw.WmfPolygon
draw, getPoly, getWmfRecordType, init, toStringMethods 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.emf.HemfRecord
setHeader
-
Constructor Details
-
EmfPolyline
public EmfPolyline()
-
-
Method Details
-
getEmfRecordType
- Specified by:
getEmfRecordTypein interfaceHemfRecord- Overrides:
getEmfRecordTypein classHemfDraw.EmfPolygon
-
getFillDrawStyle
- Overrides:
getFillDrawStylein classHemfDraw.EmfPolygon- Returns:
- true, if the shape should be filled
-
addClose
protected boolean addClose()- Overrides:
addClosein classHwmfDraw.WmfPolygon- Returns:
trueif the path needs to be closed
-