Package org.apache.poi.hemf.record.emf
Class HemfDraw.EmfPolygon16
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.EmfPolygon16
- All Implemented Interfaces:
GenericRecord,HemfRecord,HwmfRecord
- Enclosing class:
- HemfDraw
The EMR_POLYGON16 record specifies a polygon consisting of two or more vertexes connected by straight lines.
The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
The polygon is closed automatically by drawing a line from the last vertex to the first
-
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 longreadPoint(LittleEndianInputStream leis, Point2D point) Methods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfPolygon
calcBounds, draw, getBounds, getFillDrawStyle, getGenericProperties, getGenericRecordType, hasStartPoint, initMethods inherited from class org.apache.poi.hwmf.record.HwmfDraw.WmfPolygon
addClose, 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
-
EmfPolygon16
public EmfPolygon16()
-
-
Method Details
-
getEmfRecordType
- Specified by:
getEmfRecordTypein interfaceHemfRecord- Overrides:
getEmfRecordTypein classHemfDraw.EmfPolygon
-
readPoint
- Overrides:
readPointin classHemfDraw.EmfPolygon
-