This commit is contained in:
parent
e96e74c824
commit
06559bd805
@ -11,40 +11,40 @@
|
||||
* <th> TIFF type </th> <th> Java type </th>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_BYTE</tt></td> <td><tt>byte</tt></td>
|
||||
+ * <td><var>TIFF_BYTE</var></td> <td><var>byte</var></td>
|
||||
+ * <td><code>TIFF_BYTE</code></td> <td><code>byte</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_ASCII</tt></td> <td><tt>String</tt></td>
|
||||
+ * <td><var>TIFF_ASCII</var></td> <td><var>String</var></td>
|
||||
+ * <td><code>TIFF_ASCII</code></td> <td><code>String</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_SHORT</tt></td> <td><tt>char</tt></td>
|
||||
+ * <td><var>TIFF_SHORT</var></td> <td><var>char</var></td>
|
||||
+ * <td><code>TIFF_SHORT</code></td> <td><code>char</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_LONG</tt></td> <td><tt>long</tt></td>
|
||||
+ * <td><var>TIFF_LONG</var></td> <td><var>long</var></td>
|
||||
+ * <td><code>TIFF_LONG</code></td> <td><code>long</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_RATIONAL</tt></td> <td><tt>long[2]</tt></td>
|
||||
+ * <td><var>TIFF_RATIONAL</var></td> <td><var>long[2]</var></td>
|
||||
+ * <td><code>TIFF_RATIONAL</code></td> <td><code>long[2]</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_SBYTE</tt></td> <td><tt>byte</tt></td>
|
||||
+ * <td><var>TIFF_SBYTE</var></td> <td><var>byte</var></td>
|
||||
+ * <td><code>TIFF_SBYTE</code></td> <td><code>byte</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_UNDEFINED</tt></td> <td><tt>byte</tt></td>
|
||||
+ * <td><var>TIFF_UNDEFINED</var></td> <td><var>byte</var></td>
|
||||
+ * <td><code>TIFF_UNDEFINED</code></td> <td><code>byte</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_SSHORT</tt></td> <td><tt>short</tt></td>
|
||||
+ * <td><var>TIFF_SSHORT</var></td> <td><var>short</var></td>
|
||||
+ * <td><code>TIFF_SSHORT</code></td> <td><code>short</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_SLONG</tt></td> <td><tt>int</tt></td>
|
||||
+ * <td><var>TIFF_SLONG</var></td> <td><var>int</var></td>
|
||||
+ * <td><code>TIFF_SLONG</code></td> <td><code>int</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_SRATIONAL</tt></td> <td><tt>int[2]</tt></td>
|
||||
+ * <td><var>TIFF_SRATIONAL</var></td> <td><var>int[2]</var></td>
|
||||
+ * <td><code>TIFF_SRATIONAL</code></td> <td><code>int[2]</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_FLOAT</tt></td> <td><tt>float</tt></td>
|
||||
+ * <td><var>TIFF_FLOAT</var></td> <td><var>float</var></td>
|
||||
+ * <td><code>TIFF_FLOAT</code></td> <td><code>float</code></td>
|
||||
* <tr>
|
||||
- * <td><tt>TIFF_DOUBLE</tt></td> <td><tt>double</tt></td>
|
||||
+ * <td><var>TIFF_DOUBLE</var></td> <td><var>double</var></td>
|
||||
+ * <td><code>TIFF_DOUBLE</code></td> <td><code>double</code></td>
|
||||
* </table>
|
||||
*/
|
||||
public TIFFField(int tag, int type, int count, Object data) {
|
||||
@ -55,7 +55,7 @@
|
||||
* @return a ColorMdoel with Linear sRGB colorSpace and
|
||||
* the alpha channel set in accordance with
|
||||
- * <tt>premult</tt>
|
||||
+ * <var>premult</var>
|
||||
+ * <code>premult</code>
|
||||
*/
|
||||
public static ColorModel makeLinear_sRGBCM(boolean premult) {
|
||||
return premult ? Linear_sRGB_Pre : Linear_sRGB_Unpre;
|
||||
@ -65,15 +65,15 @@
|
||||
* This method will return a CacheableRed that has it's data in
|
||||
- * the linear sRGB colorspace. If <tt>src</tt> is already in
|
||||
- * linear sRGB then this method does nothing and returns <tt>src</tt>.
|
||||
+ * the linear sRGB colorspace. If <var>src</var> is already in
|
||||
+ * linear sRGB then this method does nothing and returns <var>src</var>.
|
||||
+ * the linear sRGB colorspace. If <code>src</code> is already in
|
||||
+ * linear sRGB then this method does nothing and returns <code>src</code>.
|
||||
* Otherwise it creates a transform that will convert
|
||||
- * <tt>src</tt>'s output to linear sRGB and returns that CacheableRed.
|
||||
+ * <var>src</var>'s output to linear sRGB and returns that CacheableRed.
|
||||
+ * <code>src</code>'s output to linear sRGB and returns that CacheableRed.
|
||||
*
|
||||
* @param src The image to convert to linear sRGB.
|
||||
- * @return An equivilant image to <tt>src</tt> who's data is in
|
||||
+ * @return An equivilant image to <var>src</var> who's data is in
|
||||
+ * @return An equivilant image to <code>src</code> who's data is in
|
||||
* linear sRGB.
|
||||
*/
|
||||
public static CachableRed convertToLsRGB(CachableRed src) {
|
||||
@ -83,15 +83,15 @@
|
||||
* This method will return a CacheableRed that has it's data in
|
||||
- * the sRGB colorspace. If <tt>src</tt> is already in
|
||||
- * sRGB then this method does nothing and returns <tt>src</tt>.
|
||||
+ * the sRGB colorspace. If <var>src</var> is already in
|
||||
+ * sRGB then this method does nothing and returns <var>src</var>.
|
||||
+ * the sRGB colorspace. If <code>src</code> is already in
|
||||
+ * sRGB then this method does nothing and returns <code>src</code>.
|
||||
* Otherwise it creates a transform that will convert
|
||||
- * <tt>src</tt>'s output to sRGB and returns that CacheableRed.
|
||||
+ * <var>src</var>'s output to sRGB and returns that CacheableRed.
|
||||
+ * <code>src</code>'s output to sRGB and returns that CacheableRed.
|
||||
*
|
||||
* @param src The image to convert to sRGB.
|
||||
- * @return An equivilant image to <tt>src</tt> who's data is in sRGB.
|
||||
+ * @return An equivilant image to <var>src</var> who's data is in sRGB.
|
||||
+ * @return An equivilant image to <code>src</code> who's data is in sRGB.
|
||||
*/
|
||||
public static CachableRed convertTosRGB(CachableRed src) {
|
||||
ColorModel cm = src.getColorModel();
|
||||
@ -100,13 +100,13 @@
|
||||
/**
|
||||
* Convertes any RenderedImage to a CacheableRed. <p>
|
||||
- * If <tt>ri</tt> is already a CacheableRed it casts it down and
|
||||
+ * If <var>ri</var> is already a CacheableRed it casts it down and
|
||||
+ * If <code>ri</code> is already a CacheableRed it casts it down and
|
||||
* returns it.<p>
|
||||
*
|
||||
- * In cases where <tt>ri</tt> is not already a CacheableRed it
|
||||
- * wraps <tt>ri</tt> with a helper class. The wrapped
|
||||
+ * In cases where <var>ri</var> is not already a CacheableRed it
|
||||
+ * wraps <var>ri</var> with a helper class. The wrapped
|
||||
+ * In cases where <code>ri</code> is not already a CacheableRed it
|
||||
+ * wraps <code>ri</code> with a helper class. The wrapped
|
||||
* CacheableRed "Pretends" that it has no sources since it has no
|
||||
* way of inteligently handling the dependency/dirty region calls
|
||||
* if it exposed the source.
|
||||
@ -116,8 +116,8 @@
|
||||
* Copies data from one raster to another. Only the region of
|
||||
- * overlap between src and dst is copied. <tt>Src</tt> and
|
||||
- * <tt>Dst</tt> must have compatible SampleModels.
|
||||
+ * overlap between src and dst is copied. <var>Src</var> and
|
||||
+ * <var>Dst</var> must have compatible SampleModels.
|
||||
+ * overlap between src and dst is copied. <code>Src</code> and
|
||||
+ * <code>Dst</code> must have compatible SampleModels.
|
||||
*
|
||||
* @param src The source of the data
|
||||
* @param dst The destination for the data.
|
||||
@ -126,16 +126,16 @@
|
||||
/**
|
||||
* Creates a new raster that has a <b>copy</b> of the data in
|
||||
- * <tt>ras</tt>. This is highly optimized for speed. There is
|
||||
+ * <var>ras</var>. This is highly optimized for speed. There is
|
||||
+ * <code>ras</code>. This is highly optimized for speed. There is
|
||||
* no provision for changing any aspect of the SampleModel.
|
||||
*
|
||||
* This method should be used when you need to change the contents
|
||||
* of a Raster that you do not "own" (ie the result of a
|
||||
- * <tt>getData</tt> call).
|
||||
+ * <var>getData</var> call).
|
||||
+ * <code>getData</code> call).
|
||||
* @param ras The Raster to copy.
|
||||
- * @return A writable copy of <tt>ras</tt>
|
||||
+ * @return A writable copy of <var>ras</var>
|
||||
+ * @return A writable copy of <code>ras</code>
|
||||
*/
|
||||
public static WritableRaster copyRaster(Raster ras) {
|
||||
return copyRaster(ras, ras.getMinX(), ras.getMinY());
|
||||
@ -144,14 +144,14 @@
|
||||
/**
|
||||
* Creates a new raster that has a <b>copy</b> of the data in
|
||||
- * <tt>ras</tt>. This is highly optimized for speed. There is
|
||||
+ * <var>ras</var>. This is highly optimized for speed. There is
|
||||
+ * <code>ras</code>. This is highly optimized for speed. There is
|
||||
* no provision for changing any aspect of the SampleModel.
|
||||
* However you can specify a new location for the returned raster.
|
||||
*
|
||||
* This method should be used when you need to change the contents
|
||||
* of a Raster that you do not "own" (ie the result of a
|
||||
- * <tt>getData</tt> call).
|
||||
+ * <var>getData</var> call).
|
||||
+ * <code>getData</code> call).
|
||||
*
|
||||
* @param ras The Raster to copy.
|
||||
*
|
||||
@ -160,7 +160,7 @@
|
||||
* returned WritableRaster.
|
||||
*
|
||||
- * @return A writable copy of <tt>ras</tt>
|
||||
+ * @return A writable copy of <var>ras</var>
|
||||
+ * @return A writable copy of <code>ras</code>
|
||||
*/
|
||||
public static WritableRaster copyRaster(Raster ras, int minX, int minY) {
|
||||
WritableRaster ret = Raster.createWritableRaster(
|
||||
@ -169,7 +169,7 @@
|
||||
|
||||
/**
|
||||
- * Coerces <tt>ras</tt> to be writable. The returned Raster continues to
|
||||
+ * Coerces <var>ras</var> to be writable. The returned Raster continues to
|
||||
+ * Coerces <code>ras</code> to be writable. The returned Raster continues to
|
||||
* reference the DataBuffer from ras, so modifications to the returned
|
||||
* WritableRaster will be seen in ras.<p>
|
||||
*
|
||||
@ -177,12 +177,12 @@
|
||||
* an interface (such as to construct a BufferedImage), but have no
|
||||
* intention of modifying the contents of the returned Raster. If
|
||||
- * you have any doubt about other users of the data in <tt>ras</tt>,
|
||||
+ * you have any doubt about other users of the data in <var>ras</var>,
|
||||
+ * you have any doubt about other users of the data in <code>ras</code>,
|
||||
* use copyRaster (above).
|
||||
* @param ras The raster to make writable.
|
||||
* @return A Writable version of ras (shares DataBuffer with
|
||||
- * <tt>ras</tt>).
|
||||
+ * <var>ras</var>).
|
||||
+ * <code>ras</code>).
|
||||
*/
|
||||
public static WritableRaster makeRasterWritable(Raster ras) {
|
||||
return makeRasterWritable(ras, ras.getMinX(), ras.getMinY());
|
||||
@ -190,7 +190,7 @@
|
||||
|
||||
/**
|
||||
- * Coerces <tt>ras</tt> to be writable. The returned Raster continues to
|
||||
+ * Coerces <var>ras</var> to be writable. The returned Raster continues to
|
||||
+ * Coerces <code>ras</code> to be writable. The returned Raster continues to
|
||||
* reference the DataBuffer from ras, so modifications to the returned
|
||||
* WritableRaster will be seen in ras.<p>
|
||||
*
|
||||
@ -199,7 +199,7 @@
|
||||
* an interface (such as to construct a BufferedImage), but have no
|
||||
* intention of modifying the contents of the returned Raster. If
|
||||
- * you have any doubt about other users of the data in <tt>ras</tt>,
|
||||
+ * you have any doubt about other users of the data in <var>ras</var>,
|
||||
+ * you have any doubt about other users of the data in <code>ras</code>,
|
||||
* use copyRaster (above).
|
||||
*
|
||||
* @param ras The raster to make writable.
|
||||
@ -208,10 +208,10 @@
|
||||
* returned WritableRaster.
|
||||
*
|
||||
- * @return A Writable version of <tT>ras</tt> with it's upper left
|
||||
+ * @return A Writable version of <var>ras</var> with it's upper left
|
||||
+ * @return A Writable version of <code>ras</code> with it's upper left
|
||||
* hand coordinate set to minX, minY (shares it's DataBuffer
|
||||
- * with <tt>ras</tt>).
|
||||
+ * with <var>ras</var>).
|
||||
+ * with <code>ras</code>).
|
||||
*/
|
||||
public static WritableRaster makeRasterWritable(Raster ras,
|
||||
int minX, int minY) {
|
||||
@ -222,7 +222,7 @@
|
||||
* by the {@link #getMessage()} method).
|
||||
* @param cause the cause (which is saved for later retrieval by the
|
||||
- * {@link #getCause()} method). (A <tt>null</tt> value is
|
||||
+ * {@link #getCause()} method). (A <var>null</var> value is
|
||||
+ * {@link #getCause()} method). (A <code>null</code> value is
|
||||
* permitted, and indicates that the cause is nonexistent or
|
||||
* unknown.)
|
||||
*/
|
||||
@ -233,7 +233,7 @@
|
||||
* by the {@link #getMessage()} method).
|
||||
* @param cause the cause (which is saved for later retrieval by the
|
||||
- * {@link #getCause()} method). (A <tt>null</tt> value is
|
||||
+ * {@link #getCause()} method). (A <var>null</var> value is
|
||||
+ * {@link #getCause()} method). (A <code>null</code> value is
|
||||
* permitted, and indicates that the cause is nonexistent or
|
||||
* unknown.)
|
||||
*/
|
||||
@ -244,7 +244,7 @@
|
||||
<body>
|
||||
Classes, codecs and utilities for bitmap images.
|
||||
-Contains extensions to the <tt>java.awt.image</tt> package. This
|
||||
+Contains extensions to the <var>java.awt.image</var> package. This
|
||||
+Contains extensions to the <code>java.awt.image</code> package. This
|
||||
package provides convenient methods, some utility classes and image
|
||||
codec classes. These generally bypass broken methods in Java2D or
|
||||
provide tweaked implementations.
|
||||
@ -256,24 +256,24 @@
|
||||
/**
|
||||
- * This extension of the <tt>java.awt.Graphics2D</tt> abstract class
|
||||
- * is still abstract, but it implements a lot of the <tt>Graphics2D</tt>
|
||||
+ * This extension of the <var>java.awt.Graphics2D</var> abstract class
|
||||
+ * is still abstract, but it implements a lot of the <var>Graphics2D</var>
|
||||
+ * This extension of the <code>java.awt.Graphics2D</code> abstract class
|
||||
+ * is still abstract, but it implements a lot of the <code>Graphics2D</code>
|
||||
* method in a way that concrete implementations can reuse.
|
||||
*
|
||||
- * This class uses a <tt>GraphicContext</tt> to store the state of
|
||||
+ * This class uses a <var>GraphicContext</var> to store the state of
|
||||
+ * This class uses a <code>GraphicContext</code> to store the state of
|
||||
* its various attributes that control the rendering, such as the
|
||||
- * current <tt>Font</tt>, <tt>Paint</tt> or clip.
|
||||
+ * current <var>Font</var>, <var>Paint</var> or clip.
|
||||
+ * current <code>Font</code>, <code>Paint</code> or clip.
|
||||
*
|
||||
* Concrete implementations can focus on implementing the rendering
|
||||
- * methods, such as <tt>drawShape</tt>. As a convenience, rendering
|
||||
+ * methods, such as <var>drawShape</var>. As a convenience, rendering
|
||||
+ * methods, such as <code>drawShape</code>. As a convenience, rendering
|
||||
* methods that can be expressed with other rendering methods (e.g.,
|
||||
- * <tt>drawRect</tt> can be expressed as <tt>draw(new Rectangle(..))</tt>),
|
||||
- * are implemented by <tt>AbstractGraphics2D</tt>
|
||||
+ * <var>drawRect</var> can be expressed as <var>draw(new Rectangle(..))</var>),
|
||||
+ * are implemented by <var>AbstractGraphics2D</var>
|
||||
+ * <code>drawRect</code> can be expressed as <code>draw(new Rectangle(..))</code>),
|
||||
+ * are implemented by <code>AbstractGraphics2D</code>
|
||||
*
|
||||
* @version $Id: AbstractGraphics2D.java 1739071 2016-04-14 12:30:21Z ssteiner $
|
||||
* @see org.apache.xmlgraphics.java2d.GraphicContext
|
||||
@ -282,7 +282,7 @@
|
||||
/**
|
||||
* Current state of the Graphic Context. The GraphicsContext
|
||||
- * class manages the state of this <tt>Graphics2D</tt> graphic context
|
||||
+ * class manages the state of this <var>Graphics2D</var> graphic context
|
||||
+ * class manages the state of this <code>Graphics2D</code> graphic context
|
||||
* attributes.
|
||||
*/
|
||||
protected GraphicContext gc;
|
||||
@ -293,16 +293,16 @@
|
||||
|
||||
/**
|
||||
- * This concrete implementation of <tt>AbstractGraphics2D</tt> is a
|
||||
+ * This concrete implementation of <var>AbstractGraphics2D</var> is a
|
||||
+ * This concrete implementation of <code>AbstractGraphics2D</code> is a
|
||||
* simple help to programmers to get started with their own
|
||||
- * implementation of <tt>Graphics2D</tt>.
|
||||
- * <tt>DefaultGraphics2D</tt> implements all the abstract methods
|
||||
- * is <tt>AbstractGraphics2D</tt> and makes it easy to start
|
||||
- * implementing a <tt>Graphic2D</tt> piece-meal.
|
||||
+ * implementation of <var>Graphics2D</var>.
|
||||
+ * <var>DefaultGraphics2D</var> implements all the abstract methods
|
||||
+ * is <var>AbstractGraphics2D</var> and makes it easy to start
|
||||
+ * implementing a <var>Graphic2D</var> piece-meal.
|
||||
+ * implementation of <code>Graphics2D</code>.
|
||||
+ * <code>DefaultGraphics2D</code> implements all the abstract methods
|
||||
+ * is <code>AbstractGraphics2D</code> and makes it easy to start
|
||||
+ * implementing a <code>Graphic2D</code> piece-meal.
|
||||
*
|
||||
* @version $Id: DefaultGraphics2D.java 1732018 2016-02-24 04:51:06Z gadams $
|
||||
* @see org.apache.xmlgraphics.java2d.AbstractGraphics2D
|
||||
@ -313,10 +313,10 @@
|
||||
|
||||
/**
|
||||
- * This class is a wrapper for the <tt>PSGraphics2D</tt> that
|
||||
+ * This class is a wrapper for the <var>PSGraphics2D</var> that
|
||||
+ * This class is a wrapper for the <code>PSGraphics2D</code> that
|
||||
* is used to create a full document around the PostScript rendering from
|
||||
- * <tt>PSGraphics2D</tt>.
|
||||
+ * <var>PSGraphics2D</var>.
|
||||
+ * <code>PSGraphics2D</code>.
|
||||
*
|
||||
* @version $Id: AbstractPSDocumentGraphics2D.java 1732018 2016-02-24 04:51:06Z gadams $
|
||||
* @see org.apache.xmlgraphics.java2d.ps.PSGraphics2D
|
||||
@ -327,7 +327,7 @@
|
||||
|
||||
/**
|
||||
- * This class is a wrapper for the <tt>AbstractPSDocumentGraphics2D</tt> that
|
||||
+ * This class is a wrapper for the <var>AbstractPSDocumentGraphics2D</var> that
|
||||
+ * This class is a wrapper for the <code>AbstractPSDocumentGraphics2D</code> that
|
||||
* is used to create EPS (Encapsulated PostScript) files instead of PS file.
|
||||
*
|
||||
* @version $Id: EPSDocumentGraphics2D.java 1732018 2016-02-24 04:51:06Z gadams $
|
||||
@ -338,10 +338,10 @@
|
||||
|
||||
/**
|
||||
- * This class is a wrapper for the <tt>PSGraphics2D</tt> that
|
||||
+ * This class is a wrapper for the <var>PSGraphics2D</var> that
|
||||
+ * This class is a wrapper for the <code>PSGraphics2D</code> that
|
||||
* is used to create a full document around the PostScript rendering from
|
||||
- * <tt>PSGraphics2D</tt>.
|
||||
+ * <var>PSGraphics2D</var>.
|
||||
+ * <code>PSGraphics2D</code>.
|
||||
*
|
||||
* @version $Id: PSDocumentGraphics2D.java 1681108 2015-05-22 13:26:12Z ssteiner $
|
||||
* @see org.apache.xmlgraphics.java2d.ps.PSGraphics2D
|
||||
@ -353,8 +353,8 @@
|
||||
/**
|
||||
- * This is a concrete implementation of <tt>AbstractGraphics2D</tt> (and
|
||||
- * therefore of <tt>Graphics2D</tt>) which is able to generate PostScript
|
||||
+ * This is a concrete implementation of <var>AbstractGraphics2D</var> (and
|
||||
+ * therefore of <var>Graphics2D</var>) which is able to generate PostScript
|
||||
+ * This is a concrete implementation of <code>AbstractGraphics2D</code> (and
|
||||
+ * therefore of <code>Graphics2D</code>) which is able to generate PostScript
|
||||
* code.
|
||||
*
|
||||
* @version $Id: PSGraphics2D.java 1845492 2018-11-01 15:54:06Z ssteiner $
|
||||
@ -365,10 +365,10 @@
|
||||
|
||||
/**
|
||||
- * Returns <tt>true</tt> if this map contains no key-value mappings.
|
||||
+ * Returns <var>true</var> if this map contains no key-value mappings.
|
||||
+ * Returns <code>true</code> if this map contains no key-value mappings.
|
||||
*
|
||||
- * @return <tt>true</tt> if this map contains no key-value mappings.
|
||||
+ * @return <var>true</var> if this map contains no key-value mappings.
|
||||
+ * @return <code>true</code> if this map contains no key-value mappings.
|
||||
*/
|
||||
public boolean isEmpty() {
|
||||
if (flushOnRetrieval) {
|
||||
|
Loading…
Reference in New Issue
Block a user