Package hec.gfx2d.paint
Class GradientPaintWriter
java.lang.Object
hec.gfx2d.paint.GradientPaintWriter
- All Implemented Interfaces:
PaintWriter<GradientPaint>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwrites a Paint object into a set of parameters that can reconstruct it.
-
Constructor Details
-
GradientPaintWriter
public GradientPaintWriter()
-
-
Method Details
-
writePaint
Description copied from interface:PaintWriterwrites a Paint object into a set of parameters that can reconstruct it.- Specified by:
writePaintin interfacePaintWriter<GradientPaint>- Parameters:
p- the paint to write- Returns:
-
main
-