Class DrawMLPainter


public class DrawMLPainter
extends Object

DrawMLShape uses DrawMLPainter to draw itself.

See Also:
DrawMLShape

Constructor Summary
DrawMLPainter()

                    Constructs a DrawMLPainter instance.
                    Each DrawMLPainter object is a data member of the DrawMlShape class.

Method summary
native public void ClosePath()

                    Closes the path.

native public void Fill()

                    Fills the outlined object with color.

native public void FillColor(String color)

                    Sets the fill color.

native public void LineColor(String color)

                    Sets the line color.

native public void LineTo(double xp, double yp)

                    Draws a line to the specified point.

native public void LineWidth(double width)

                    Sets the line width.

native public void MoveTo(double xp, double yp)

                    Moves the pen to the specified point.

native public void NewPath()

                    Clear the coordinate list.

native public void Stroke()

                    Stroke the outlined object.

native public void Translate(double deltax, double deltay)

                    Changes the reference point for all further operations.

native public void TranslatePath(double deltax, double deltay)

                    Moves all coordinates to specified delta offsets.