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

public Class DrawPath

extends GraphicsPrimitive
Class Inheritance
Known Direct Subclasses
sun.java2d.loops.DrawPath.TraceDrawPath, sun.java2d.loops.SetDrawPathANY, sun.java2d.loops.XorDrawPathANY
Imports
java.awt.geom.Path2D, sun.java2d.SunGraphics2D, .SurfaceData

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

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

Method Summary

Modifier and TypeMethod and Description
public native void
DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transX, int transY, Path2D.Float p2df)

All DrawPath implementors must have this invoker method

public static DrawPath
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

DrawPathback to summary
protected DrawPath(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
DrawPathback to summary
public DrawPath(long pNativePrim, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)

Method Detail

DrawPathback to summary
public native void DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transX, int transY, Path2D.Float p2df)

All DrawPath implementors must have this invoker method

locateback to summary
public static DrawPath 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 DrawPath.TraceDrawPath

extends DrawPath
Class Inheritance

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transX, int transY, Path2D.Float p2df)

Overrides sun.java2d.loops.DrawPath.DrawPath.

All DrawPath implementors must have this invoker method

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

Field Detail

targetback to summary
pack-priv DrawPath target

Constructor Detail

TraceDrawPathback to summary
public TraceDrawPath(DrawPath target)

Method Detail

DrawPathback to summary
public void DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transX, int transY, Path2D.Float p2df)

Overrides sun.java2d.loops.DrawPath.DrawPath.

Doc from sun.java2d.loops.DrawPath.DrawPath.

All DrawPath implementors must have this invoker method

traceWrapback to summary
public GraphicsPrimitive traceWrap()

Overrides sun.java2d.loops.DrawPath.traceWrap.