Class Text2DInt

All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.lang.Cloneable, java.lang.Comparable<InterfaceShape>, AttributeListener, AttributeObject, InterfaceObject, PersistentObject, VariableObject, PopupMenuObject, NamedObject, InterfaceQueryObject, InterfaceShapeQueryObject, ShapeListener, VertexDataColumnListener, InterfaceTransferable, TreeObject, CleanableObject, XMLObject, IconObject
Direct Known Subclasses:
Text2DIntMouseCoords

public class Text2DInt
extends Shape2DInt
  • Field Details

    • FontName

      public java.lang.String FontName
    • FontStyle

      public int FontStyle
    • AlignmentX

      public int AlignmentX
    • AlignmentY

      public int AlignmentY
  • Constructor Details

    • Text2DInt

      public Text2DInt()
    • Text2DInt

      public Text2DInt​(java.lang.String text, Rect2D bound)
    • Text2DInt

      public Text2DInt​(java.lang.String text, org.jogamp.vecmath.Point2f pt1, org.jogamp.vecmath.Point2f pt2)
    • Text2DInt

      public Text2DInt​(Text2D thisText2D)
    • Text2DInt

      public Text2DInt​(java.lang.String text, float width, float height)
  • Method Details

    • setShape

      public void setShape​(Shape2D newShape)
      Overrides:
      setShape in class Shape2DInt
    • isLabelShape

      public boolean isLabelShape()
      Overrides:
      isLabelShape in class Shape2DInt
    • setFont

      public void setFont​(java.awt.Font font)
    • getFont

      public java.awt.Font getFont()
    • setText

      public void setText​(java.lang.String newText)
    • getText

      public java.lang.String getText()
    • setBounds

      public void setBounds​(Rect2D newBounds)
    • getBounds

      public Rect2D getBounds()
      Overrides:
      getBounds in class Shape2DInt
    • draw

      public void draw​(java.awt.Graphics2D g, DrawingEngine d)
      Overrides:
      draw in class Shape2DInt