Package org.apache.poi.hemf.record.emf
Class HemfDraw.EmfPolylineTo
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
org.apache.poi.hemf.record.emf.HemfDraw.EmfPolylineTo
- All Implemented Interfaces:
GenericRecord,HemfRecord,HwmfRecord
- Direct Known Subclasses:
HemfDraw.EmfPolylineTo16
- Enclosing class:
- HemfDraw
The EMR_POLYLINETO record specifies one or more straight lines based upon the current position.
-
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 TypeMethodDescriptionvoiddraw(HemfGraphics ctx) Draws the record, the default redirects to the parent WMF record drawingprotected booleanMethods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfPolyline
addClose, getFillDrawStyleMethods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfPolygon
calcBounds, getBounds, getGenericProperties, getGenericRecordType, 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
-
EmfPolylineTo
public EmfPolylineTo()
-
-
Method Details
-
getEmfRecordType
- Specified by:
getEmfRecordTypein interfaceHemfRecord- Overrides:
getEmfRecordTypein classHemfDraw.EmfPolyline
-
hasStartPoint
protected boolean hasStartPoint()- Overrides:
hasStartPointin classHemfDraw.EmfPolygon- Returns:
- true, if start point is in the list of points. false, if start point is taken from the context
-
draw
Description copied from interface:HemfRecordDraws the record, the default redirects to the parent WMF record drawing- Specified by:
drawin interfaceHemfRecord- Overrides:
drawin classHemfDraw.EmfPolygon- Parameters:
ctx- the drawing context
-