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
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 -
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.EmfPolyBezier
addClose, calcBounds, getBounds, getFillDrawStyle, 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
-
EmfPolyBezierTo
public EmfPolyBezierTo()
-
-
Method Details
-
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
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
-