public static class HemfDraw.EmfChord extends HwmfDraw.WmfChord implements HemfRecord
HwmfDraw.WmfArc.WmfArcClosure
bounds, endPoint, startPoint
Constructor and Description |
---|
EmfChord() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HemfRecordType |
getEmfRecordType() |
java.lang.Enum |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
getWmfRecordType
draw, getArcClosure, getBounds, getEndPoint, getFillDrawStyle, getGenericProperties, getShape, getStartPoint, init, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setHeader
getGenericChildren, getGenericProperties
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface HemfRecord
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic void draw(HemfGraphics ctx)
HemfRecord
draw
in interface HemfRecord
ctx
- the drawing contextpublic java.lang.Enum getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfRecord
getGenericRecordType
in interface HwmfRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.