java.awt.font

Class FontRenderContext

public class FontRenderContext extends Object

Constructor Summary
protected FontRenderContext()
Construct a new FontRenderContext.
FontRenderContext(AffineTransform tx, boolean isAntiAliased, boolean usesFractionalMetrics)
Construct a new FontRenderContext.
Method Summary
booleanequals(Object obj)
booleanequals(FontRenderContext rhs)
AffineTransformgetTransform()
Retrieves the affine transform for scaling typographical points to raster pixels.
inthashCode()
Returns the hash code of the font render context.
booleanisAntiAliased()
booleanusesFractionalMetrics()

Constructor Detail

FontRenderContext

protected FontRenderContext()
Construct a new FontRenderContext.

FontRenderContext

public FontRenderContext(AffineTransform tx, boolean isAntiAliased, boolean usesFractionalMetrics)
Construct a new FontRenderContext.

Method Detail

equals

public boolean equals(Object obj)

equals

public boolean equals(FontRenderContext rhs)

getTransform

public AffineTransform getTransform()
Retrieves the affine transform for scaling typographical points to raster pixels.

Returns: a clone of the transform object.

hashCode

public int hashCode()
Returns the hash code of the font render context.

isAntiAliased

public boolean isAntiAliased()

usesFractionalMetrics

public boolean usesFractionalMetrics()