Package org.apache.poi.hemf.record.emf
Class HemfDraw.EmfPolyBezierTo
- java.lang.Object
-
- org.apache.poi.hwmf.record.HwmfDraw.WmfPolygon
-
- org.apache.poi.hemf.record.emf.HemfDraw.EmfPolyBezier
-
- org.apache.poi.hemf.record.emf.HemfDraw.EmfPolyBezierTo
-
- All Implemented Interfaces:
GenericRecord,HemfRecord,HwmfRecord
- Direct Known Subclasses:
HemfDraw.EmfPolyBezierTo16
- Enclosing class:
- HemfDraw
public static class HemfDraw.EmfPolyBezierTo extends HemfDraw.EmfPolyBezier
The EMR_POLYBEZIERTO record specifies one or more Bezier curves 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 EmfPolyBezierTo()
-
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.EmfPolyBezier
addClose, calcBounds, getBounds, getFillDrawStyle, 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.EmfPolyBezier
-
hasStartPoint
protected boolean hasStartPoint()
- Overrides:
hasStartPointin classHemfDraw.EmfPolyBezier- 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.EmfPolyBezier- Parameters:
ctx- the drawing context
-
-