APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.java2d.loops

public Class FillRect

extends GraphicsPrimitive
Class Inheritance
Known Direct Subclasses
sun.java2d.loops.FillRect.General, sun.java2d.loops.FillRect.TraceFillRect, sun.java2d.loops.SetFillRectANY, sun.java2d.loops.XorFillRectANY
Imports
sun.java2d.SunGraphics2D, .SurfaceData, sun.java2d.loops.GraphicsPrimitiveMgr.GeneralPrimitives

FillRect 1) draw solid color rectangle onto destination surface 2) must accept output area [x, y, dx, dy] from within the surface description data for clip rect

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
private static class

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
Inherited from sun.java2d.loops.GraphicsPrimitive:
TRACECOUNTStracefiletraceflagsTRACELOGtraceMaptraceoutTRACETIMESTAMP

Constructor Summary

AccessConstructor and Description
protected
FillRect(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

public
FillRect(long pNativePrim, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Method Summary

Modifier and TypeMethod and Description
public native void
FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h)

All FillRect implementors must have this invoker method

public static FillRect
locate(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

protected GraphicsPrimitive
makePrimitive(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Overrides sun.java2d.loops.GraphicsPrimitive.makePrimitive.

Produces specific primitive loop if the current object is registered as a general loop, otherwise the InternalError is thrown.

public GraphicsPrimitive
Inherited from sun.java2d.loops.GraphicsPrimitive:
convertFromconvertFromconvertTocreateConvertergetCompositeTypegetDestTypegetGeneralOpgetNativePrimgetPrimTypeIDgetSignaturegetSourceTypegetUniqueIDmakePrimTypeIDmakeUniqueIDsatisfiessatisfiesSameAssetupGeneralBinaryOpsetupGeneralUnaryOpsimplenamesimplenamesimplenametoStringtracePrimitivetracingEnabled

Field Detail

methodSignatureback to summary
public static final String methodSignature

Hides sun.java2d.loops.GraphicsPrimitive.methodSignature.

primTypeIDback to summary
public static final int primTypeID

Constructor Detail

FillRectback to summary
protected FillRect(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
FillRectback to summary
public FillRect(long pNativePrim, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Method Detail

FillRectback to summary
public native void FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h)

All FillRect implementors must have this invoker method

locateback to summary
public static FillRect locate(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
makePrimitiveback to summary
protected GraphicsPrimitive makePrimitive(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Overrides sun.java2d.loops.GraphicsPrimitive.makePrimitive.

Doc from sun.java2d.loops.GraphicsPrimitive.makePrimitive.

Produces specific primitive loop if the current object is registered as a general loop, otherwise the InternalError is thrown.

traceWrapback to summary
public GraphicsPrimitive traceWrap()

Implements abstract sun.java2d.loops.GraphicsPrimitive.traceWrap.

sun.java2d.loops back to summary

public Class FillRect.General

extends FillRect
Class Inheritance

Field Summary

Modifier and TypeField and Description
public MaskFill
Inherited from sun.java2d.loops.FillRect:
methodSignatureprimTypeID

Constructor Summary

AccessConstructor and Description
public
General(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Method Summary

Modifier and TypeMethod and Description
public void
FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h)

Overrides sun.java2d.loops.FillRect.FillRect.

All FillRect implementors must have this invoker method

Inherited from sun.java2d.loops.FillRect:
locatemakePrimitivetraceWrap

Field Detail

fillopback to summary
public MaskFill fillop

Constructor Detail

Generalback to summary
public General(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Method Detail

FillRectback to summary
public void FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h)

Overrides sun.java2d.loops.FillRect.FillRect.

Doc from sun.java2d.loops.FillRect.FillRect.

All FillRect implementors must have this invoker method

sun.java2d.loops back to summary

private Class FillRect.TraceFillRect

extends FillRect
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv FillRect
Inherited from sun.java2d.loops.FillRect:
methodSignatureprimTypeID

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h)

Overrides sun.java2d.loops.FillRect.FillRect.

All FillRect implementors must have this invoker method

public GraphicsPrimitive
Inherited from sun.java2d.loops.FillRect:
locatemakePrimitive

Field Detail

targetback to summary
pack-priv FillRect target

Constructor Detail

TraceFillRectback to summary
public TraceFillRect(FillRect target)

Method Detail

FillRectback to summary
public void FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h)

Overrides sun.java2d.loops.FillRect.FillRect.

Doc from sun.java2d.loops.FillRect.FillRect.

All FillRect implementors must have this invoker method

traceWrapback to summary
public GraphicsPrimitive traceWrap()

Overrides sun.java2d.loops.FillRect.traceWrap.