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

public Class DrawRect

extends GraphicsPrimitive
Class Inheritance
Known Direct Subclasses
sun.java2d.loops.DrawRect.TraceDrawRect, sun.java2d.loops.SetDrawRectANY, sun.java2d.loops.XorDrawRectANY
Imports
sun.java2d.SunGraphics2D, .SurfaceData

DrawRect 1) draw single-width line 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
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
DrawRect(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

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

Method Summary

Modifier and TypeMethod and Description
public native void
DrawRect(SunGraphics2D sg2d, SurfaceData dest, int x1, int y1, int w, int h)

All DrawRect implementors must have this invoker method

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

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

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

DrawRectback to summary
protected DrawRect(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
DrawRectback to summary
public DrawRect(long pNativePrim, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Method Detail

DrawRectback to summary
public native void DrawRect(SunGraphics2D sg2d, SurfaceData dest, int x1, int y1, int w, int h)

All DrawRect implementors must have this invoker method

locateback to summary
public static DrawRect locate(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
traceWrapback to summary
public GraphicsPrimitive traceWrap()

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

sun.java2d.loops back to summary

private Class DrawRect.TraceDrawRect

extends DrawRect
Class Inheritance

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
DrawRect(SunGraphics2D sg2d, SurfaceData dest, int x1, int y1, int w, int h)

Overrides sun.java2d.loops.DrawRect.DrawRect.

All DrawRect implementors must have this invoker method

public GraphicsPrimitive
Inherited from sun.java2d.loops.DrawRect:
locate

Field Detail

targetback to summary
pack-priv DrawRect target

Constructor Detail

TraceDrawRectback to summary
public TraceDrawRect(DrawRect target)

Method Detail

DrawRectback to summary
public void DrawRect(SunGraphics2D sg2d, SurfaceData dest, int x1, int y1, int w, int h)

Overrides sun.java2d.loops.DrawRect.DrawRect.

Doc from sun.java2d.loops.DrawRect.DrawRect.

All DrawRect implementors must have this invoker method

traceWrapback to summary
public GraphicsPrimitive traceWrap()

Overrides sun.java2d.loops.DrawRect.traceWrap.