Class Draw

    • Constructor Detail

      • Draw

        public Draw()
    • Method Detail

      • setXloc

        public void setXloc​(int x)
        Set the X location.
        Parameters:
        x - the value to use.
      • setYloc

        public void setYloc​(int y)
        Set the Y location.
        Parameters:
        y - the value to use.
      • addText

        public void addText​(Text text)
        Add text to the operation.
        Parameters:
        text - the text to add.
      • addRectangle

        public void addRectangle​(Rectangle rect)
        Add a rectangle to the operation.
        Parameters:
        rect - the rectangle to add.
      • addEllipse

        public void addEllipse​(Ellipse elip)
        Add an ellipse.
        Parameters:
        elip - the ellipse to add.
      • addArc

        public void addArc​(Arc arc)
        Add an arc.
        Parameters:
        arc - the arc to add.
      • executeTransformOperation

        public java.awt.image.BufferedImage executeTransformOperation​(java.awt.image.BufferedImage bi)
        Performs the transformations..
        Specified by:
        executeTransformOperation in class TransformOperation
        Parameters:
        bi - The image to perform the transformation on.
        Returns:
        the transformed image.