Interface NTxGraphics


public interface NTxGraphics
  • Method Details

    • engine

      NTxEngine engine()
    • copy

      NTxGraphics copy()
    • drawArrayHead

      void drawArrayHead(NTxPoint2D origin, NTxVector2D direction, NTxArrow arrow)
    • getTransform

      AffineTransform getTransform()
    • setTransform

      void setTransform(AffineTransform t)
    • setPaint

      void setPaint(Paint red)
    • setColor

      void setColor(Color red)
    • fillOval

      void fillOval(double x, double y, double w, double h)
    • drawOval

      void drawOval(double x, double y, double w, double h)
    • fillRect

      void fillRect(double x, double y, double w, double h)
    • drawRect

      void drawRect(double x, double y, double w, double h)
    • fillRect

      void fillRect(NTxBounds2D b)
    • drawRect

      void drawRect(NTxBounds2D a)
    • getStringBounds

      Rectangle2D getStringBounds(String str)
    • getStringBounds

      Rectangle2D getStringBounds(AttributedCharacterIterator iterator)
    • getFontMetrics

      FontMetrics getFontMetrics()
    • getFontMetrics

      FontMetrics getFontMetrics(Font f)
    • getFontRenderContext

      FontRenderContext getFontRenderContext()
    • getFont

      Font getFont()
    • graphics2D

      Graphics2D graphics2D()
    • setFont

      void setFont(Font font)
    • drawString

      void drawString(AttributedCharacterIterator iterator, double x, double y)
    • drawString

      void drawString(String str, double x, double y)
    • drawString

      void drawString(String str, double x, double y, NTxTextOptions options)
    • debugString

      void debugString(String str, double x, double y)
    • getColor

      Color getColor()
    • drawArc

      void drawArc(double x, double y, double w, double h, double startAngle, double endAngle)
    • drawLine

      void drawLine(double x1, double y1, double x2, double y2)
    • fillPolygon

      void fillPolygon(double[] xx, double[] yy, int length)
    • drawPolygon

      void drawPolygon(double[] xx, double[] yy, int length)
    • drawPolyline

      void drawPolyline(double[] xx, double[] yy, int length)
    • fillRoundRect

      void fillRoundRect(double x, double y, double w, double h, double cx, double cy)
    • drawRoundRect

      void drawRoundRect(double x, double y, double w, double h, double cx, double cy)
    • fill3DRect

      void fill3DRect(double x, double y, double w, double h, boolean raised)
    • draw3DRect

      void draw3DRect(double x, double y, double w, double h, boolean raised)
    • drawImage

      void drawImage(Image image, double x, double y, ImageObserver o)
    • drawImage

      void drawImage(net.thevpc.nuts.io.NPath image, double x, double y, NTxImageOptions options)
    • getSecondaryColor

      Color getSecondaryColor()
    • setSecondaryColor

      void setSecondaryColor(Color secondaryColor)
    • fillSphere

      void fillSphere(double x, double y, double w, double h, double lightAngle, float radius)
    • setComposite

      void setComposite(Composite composite)
    • fill

      void fill(Shape shape)
    • draw

      void draw(Shape shape)
    • setStroke

      void setStroke(Stroke stroke)
    • getStroke

      Stroke getStroke()
    • draw2D

      void draw2D(NtxElement2D element2D)
    • shear

      void shear(double shx, double shy)
    • transform

      void transform(AffineTransform tx)
    • scale

      void scale(double sx, double sy)
    • rotate

      void rotate(double theta, double x, double y)
    • rotate

      void rotate(double theta)
    • dispose

      void dispose()
    • createShape

      Shape createShape(net.thevpc.nuts.elem.NElement e)
    • createStroke

      Stroke createStroke(net.thevpc.nuts.elem.NElement strokeElem)