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
public static class HemfDraw.EmfPolylineTo extends HemfDraw.EmfPolyline
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 Constructor Description EmfPolylineTo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(HemfGraphics ctx)Draws the record, the default redirects to the parent WMF record drawingHemfRecordTypegetEmfRecordType()protected booleanhasStartPoint()-
Methods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfPolyline
addClose, getFillDrawStyle
-
Methods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfPolygon
calcBounds, getBounds, getGenericProperties, getGenericRecordType, init, readPoint
-
Methods inherited from class org.apache.poi.hwmf.record.HwmfDraw.WmfPolygon
draw, getPoly, getWmfRecordType, init, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Methods inherited from interface org.apache.poi.hemf.record.emf.HemfRecord
setHeader
-
-
-
-
Method Detail
-
getEmfRecordType
public HemfRecordType 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
public void draw(HemfGraphics ctx)
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
-
-