Class AwtShapeElement

java.lang.Object
com.ardor3d.extension.terrain.providers.awt.AbstractAwtElement
com.ardor3d.extension.terrain.providers.awt.AwtShapeElement

public class AwtShapeElement extends AbstractAwtElement
  • Field Details

    • _shape

      protected Shape _shape
    • _filled

      protected boolean _filled
    • _fillColor

      protected Color _fillColor
    • _outlined

      protected boolean _outlined
    • _outlineColor

      protected Color _outlineColor
    • _strokeWidth

      protected float _strokeWidth
    • _margin

      protected Vector4 _margin
    • _strokes

      protected final Map<Integer,BasicStroke> _strokes
  • Constructor Details

  • Method Details

    • getShape

      public Shape getShape()
    • setShape

      public void setShape(Shape shape)
    • isFilled

      public boolean isFilled()
    • setFilled

      public void setFilled(boolean filled)
    • getFillColor

      public Color getFillColor()
    • setFillColor

      public void setFillColor(Color color)
    • isOutlined

      public boolean isOutlined()
    • setOutlined

      public void setOutlined(boolean outlined)
    • getOutlineColor

      public Color getOutlineColor()
    • setOutlineColor

      public void setOutlineColor(Color color)
    • updateBoundsFromElement

      public void updateBoundsFromElement()
      Specified by:
      updateBoundsFromElement in class AbstractAwtElement
    • drawTo

      public void drawTo(BufferedImage image, ReadOnlyTransform localTransform, int clipmapLevel)
      Specified by:
      drawTo in class AbstractAwtElement
    • getMargin

      public Vector4 getMargin()
    • setMargin

      public void setMargin(Vector4 margin)
    • setMargin

      public void setMargin(double left, double right, double top, double bottom)
    • setMargin

      public void setMargin(double outline)
    • setStrokeWidth

      public void setStrokeWidth(float width)
    • getStrokeWidth

      public float getStrokeWidth()
    • clearStrokes

      protected void clearStrokes()