APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.java2d.xr

pack-priv abstract Class XRPaints

extends Object
Class Inheritance
Known Direct Subclasses
sun.java2d.xr.XRPaints.XRGradient, sun.java2d.xr.XRPaints.XRLinearGradient, sun.java2d.xr.XRPaints.XRRadialGradient, sun.java2d.xr.XRPaints.XRTexture
Imports
java.awt.*, java.awt.MultipleGradientPaint.*, java.awt.geom.*, java.awt.image.*, sun.java2d.*, sun.java2d.loops.*, sun.java2d.xr.XRSurfaceData.XRInternalSurfaceData

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
pack-priv static XRCompositeManager
pack-priv static final XRPaints.XRGradient
pack-priv static final XRPaints.XRLinearGradient
pack-priv static final XRPaints.XRRadialGradient
pack-priv static final XRPaints.XRTexture

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
public int[]
public int
private static XRPaints
pack-priv abstract boolean
isPaintValid(SunGraphics2D sg2d)

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

pack-priv static boolean
isValid(SunGraphics2D sg2d)

Attempts to locate an implementation corresponding to the paint state of the provided SunGraphics2D object.

public static void
pack-priv static void
pack-priv abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

xrCompManback to summary
pack-priv static XRCompositeManager xrCompMan
xrGradientback to summary
pack-priv static final XRPaints.XRGradient xrGradient
xrLinearGradientback to summary
pack-priv static final XRPaints.XRLinearGradient xrLinearGradient
xrRadialGradientback to summary
pack-priv static final XRPaints.XRRadialGradient xrRadialGradient
xrTextureback to summary
pack-priv static final XRPaints.XRTexture xrTexture

Constructor Detail

XRPaintsback to summary
pack-priv XRPaints()

Method Detail

colorToIntArgbPixelback to summary
public int colorToIntArgbPixel(Color c)
convertToIntArgbPixelsback to summary
public int[] convertToIntArgbPixels(Color[] colors)
getGradientLengthback to summary
public int getGradientLength(Point2D pt1, Point2D pt2)
getXRPaintback to summary
private static XRPaints getXRPaint(SunGraphics2D sg2d)
isPaintValidback to summary
pack-priv abstract boolean isPaintValid(SunGraphics2D sg2d)

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

isValidback to summary
pack-priv static boolean isValid(SunGraphics2D sg2d)

Attempts to locate an implementation corresponding to the paint state of the provided SunGraphics2D object. If no implementation can be found, or if the paint cannot be accelerated under the conditions of the SunGraphics2D, this method returns false; otherwise, returns true.

registerback to summary
public static void register(XRCompositeManager xrComp)
setPaintback to summary
pack-priv static void setPaint(SunGraphics2D sg2d, Paint paint)
setXRPaintback to summary
pack-priv abstract void setXRPaint(SunGraphics2D sg2d, Paint paint)
sun.java2d.xr back to summary

private final Class XRPaints.XRGradient

extends XRPaints
Class Inheritance

Field Summary

Inherited from sun.java2d.xr.XRPaints:
xrCompManxrGradientxrLinearGradientxrRadialGradientxrTexture

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

pack-priv void
Inherited from sun.java2d.xr.XRPaints:
colorToIntArgbPixelconvertToIntArgbPixelsgetGradientLengthisValidregistersetPaint

Constructor Detail

XRGradientback to summary
private XRGradient()

Method Detail

isPaintValidback to summary
pack-priv boolean isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Doc from sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

Annotations
@Override
setXRPaintback to summary
pack-priv void setXRPaint(SunGraphics2D sg2d, Paint pt)

Implements abstract sun.java2d.xr.XRPaints.setXRPaint.

Annotations
@Override
sun.java2d.xr back to summary

private final Class XRPaints.XRLinearGradient

extends XRPaints
Class Inheritance

Field Summary

Inherited from sun.java2d.xr.XRPaints:
xrCompManxrGradientxrLinearGradientxrRadialGradientxrTexture

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

pack-priv void
Inherited from sun.java2d.xr.XRPaints:
colorToIntArgbPixelconvertToIntArgbPixelsgetGradientLengthisValidregistersetPaint

Constructor Detail

XRLinearGradientback to summary
private XRLinearGradient()

Method Detail

isPaintValidback to summary
pack-priv boolean isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Doc from sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

Annotations
@Override
setXRPaintback to summary
pack-priv void setXRPaint(SunGraphics2D sg2d, Paint pt)

Implements abstract sun.java2d.xr.XRPaints.setXRPaint.

Annotations
@Override
sun.java2d.xr back to summary

private final Class XRPaints.XRRadialGradient

extends XRPaints
Class Inheritance

Field Summary

Inherited from sun.java2d.xr.XRPaints:
xrCompManxrGradientxrLinearGradientxrRadialGradientxrTexture

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

pack-priv void
Inherited from sun.java2d.xr.XRPaints:
colorToIntArgbPixelconvertToIntArgbPixelsgetGradientLengthisValidregistersetPaint

Constructor Detail

XRRadialGradientback to summary
private XRRadialGradient()

Method Detail

isPaintValidback to summary
pack-priv boolean isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Doc from sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

Annotations
@Override
setXRPaintback to summary
pack-priv void setXRPaint(SunGraphics2D sg2d, Paint pt)

Implements abstract sun.java2d.xr.XRPaints.setXRPaint.

Annotations
@Override
sun.java2d.xr back to summary

private final Class XRPaints.XRTexture

extends XRPaints
Class Inheritance

Field Summary

Inherited from sun.java2d.xr.XRPaints:
xrCompManxrGradientxrLinearGradientxrRadialGradientxrTexture

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private XRSurfaceData
pack-priv boolean
isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

pack-priv void
Inherited from sun.java2d.xr.XRPaints:
colorToIntArgbPixelconvertToIntArgbPixelsgetGradientLengthisValidregistersetPaint

Constructor Detail

XRTextureback to summary
private XRTexture()

Method Detail

getAccSrcSurfaceback to summary
private XRSurfaceData getAccSrcSurface(XRSurfaceData dstData, BufferedImage bi)
isPaintValidback to summary
pack-priv boolean isPaintValid(SunGraphics2D sg2d)

Implements abstract sun.java2d.xr.XRPaints.isPaintValid.

Doc from sun.java2d.xr.XRPaints.isPaintValid.

Returns true if this implementation is able to accelerate the Paint object associated with, and under the conditions of, the provided SunGraphics2D instance; otherwise returns false.

Annotations
@Override
setXRPaintback to summary
pack-priv void setXRPaint(SunGraphics2D sg2d, Paint pt)

Implements abstract sun.java2d.xr.XRPaints.setXRPaint.

Annotations
@Override