@Internal public class HemfPicture extends java.lang.Object implements java.lang.Iterable<HemfRecord>, GenericRecord
Constructor and Description |
---|
HemfPicture(java.io.InputStream is) |
HemfPicture(LittleEndianInputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics2D ctx,
java.awt.geom.Rectangle2D graphicsBounds) |
void |
forEach(java.util.function.Consumer<? super HemfRecord> action) |
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounding box in device-independent units - usually this is in .01 millimeter units
|
java.awt.geom.Rectangle2D |
getBoundsInPoints()
Return the image bounds in points
|
java.nio.charset.Charset |
getDefaultCharset() |
java.lang.Iterable<HwmfEmbedded> |
getEmbeddings() |
java.util.List<? extends GenericRecord> |
getGenericChildren() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfHeader |
getHeader() |
void |
getInnerBounds(java.awt.geom.Rectangle2D window,
java.awt.geom.Rectangle2D viewport) |
java.util.List<HemfRecord> |
getRecords() |
java.awt.geom.Dimension2D |
getSize()
Return the image size in points
|
java.util.Iterator<HemfRecord> |
iterator() |
void |
setDefaultCharset(java.nio.charset.Charset defaultCharset) |
java.util.Spliterator<HemfRecord> |
spliterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericRecordType
public HemfPicture(java.io.InputStream is)
public HemfPicture(LittleEndianInputStream is)
public HemfHeader getHeader()
public java.util.List<HemfRecord> getRecords()
public java.util.Iterator<HemfRecord> iterator()
iterator
in interface java.lang.Iterable<HemfRecord>
public java.util.Spliterator<HemfRecord> spliterator()
spliterator
in interface java.lang.Iterable<HemfRecord>
public void forEach(java.util.function.Consumer<? super HemfRecord> action)
forEach
in interface java.lang.Iterable<HemfRecord>
public java.awt.geom.Rectangle2D getBounds()
public void getInnerBounds(java.awt.geom.Rectangle2D window, java.awt.geom.Rectangle2D viewport)
public java.awt.geom.Rectangle2D getBoundsInPoints()
public java.awt.geom.Dimension2D getSize()
public void draw(java.awt.Graphics2D ctx, java.awt.geom.Rectangle2D graphicsBounds)
public java.lang.Iterable<HwmfEmbedded> getEmbeddings()
public java.util.List<? extends GenericRecord> getGenericChildren()
getGenericChildren
in interface GenericRecord
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
public void setDefaultCharset(java.nio.charset.Charset defaultCharset)
public java.nio.charset.Charset getDefaultCharset()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.