public static class HemfFill.EmfStretchBlt extends HwmfFill.WmfStretchDib implements HemfRecord
Modifier and Type | Field and Description |
---|---|
protected HwmfColorRef |
bkColorSrc
A WMF ColorRef object that specifies the background color of the source bitmap.
(一个 WMF ColorRef 对象,它指定源位图的背景颜色。)
|
protected java.awt.geom.Rectangle2D |
bounds |
protected java.awt.geom.AffineTransform |
xFormSrc
An XForm object that specifies a world-space to page-space transform to apply to the source bitmap.
(一个 XForm 对象,它指定世界空间到页面空间的转换以应用于源位图。)
|
bitmap, colorUsage, dstBounds, rasterOperation, srcBounds
Constructor and Description |
---|
EmfStretchBlt() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
(绘制记录,默认重定向到父WMF记录绘制)
|
HwmfColorRef |
getBkColorSrc() |
java.awt.geom.Rectangle2D |
getBounds() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfRecordType |
getGenericRecordType() |
java.awt.geom.AffineTransform |
getXFormSrc() |
long |
init(LittleEndianInputStream leis, long recordSize, long recordId)
Init record from stream
(从流初始化记录)
|
protected boolean |
srcEqualsDstDimension() |
java.lang.String |
toString() |
draw, getBitmap, getBMPData, getColorUsage, getDstBounds, getImage, getRasterOperation, getSrcBounds, getWmfRecordType, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcBounds, setHeader
getGenericChildren
getImage
protected final java.awt.geom.Rectangle2D bounds
protected final java.awt.geom.AffineTransform xFormSrc
protected final HwmfColorRef bkColorSrc
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getEmfRecordType)
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface
HemfRecord
(在接口 HemfRecord 中初始化)
leis
- the little endian input stream
(leis - 小端输入流)
recordSize
- the size limit for this record
(recordSize - 此记录的大小限制)
recordId
- the id of the
HemfRecordType
(recordId - HemfRecordType 的 id)
java.io.IOException
- when the inputstream is malformed
(java.io.IOException - 当输入流格式错误时)
protected boolean srcEqualsDstDimension()
public void draw(HemfGraphics ctx)
HemfRecord
draw
in interface
HemfRecord
(在界面 HemfRecord 中绘制)
ctx
- the drawing context
(ctx - 绘图上下文)
public java.lang.String toString()
toString
in class
HwmfFill.WmfStretchDib
public java.awt.geom.Rectangle2D getBounds()
public java.awt.geom.AffineTransform getXFormSrc()
public HwmfColorRef getBkColorSrc()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
HwmfFill.WmfStretchDib
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HwmfRecord
(接口 HwmfRecord 中的 getGenericRecordType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.