Class CircleInTriangle

All Implemented Interfaces:
Serializable, Cloneable

public class CircleInTriangle extends VectorSymbol
See Also:
  • Constructor Details

    • CircleInTriangle

      public CircleInTriangle()
  • Method Details

    • draw

      public void draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, boolean propLineThickness)
      Description copied from class: Symbol
      Draws the current symbol using the specified parameters at the specified DC location.
      Specified by:
      draw in class Symbol
      Parameters:
      g2d - the graphics
      x - the x-coordinate
      y - the y-coordinate
      scaleFactor - the scale factor to draw the symbol
      angle - in radian, the angle used to get the symbol orientation
      fillColor - the fill color. If null is specified, only the border with be drawn.
      borderColor - the line color
      propLineThickness - if you want to get a symbol with a proportional line thickness
    • draw

      public void draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, float borderThickness)
      Description copied from class: Symbol
      Draws the current symbol using the specified parameters at the specified DC location.
      Overrides:
      draw in class Symbol
      Parameters:
      g2d - the graphics
      x - the x-coordinate
      y - the y-coordinate
      scaleFactor - the scale factor to draw the symbol
      angle - in radian, the angle used to get the symbol orientation
      fillColor - the fill color. If null is specified, only the border with be drawn.
      borderColor - the line color
      borderThickness - the vector symbol border thickness
    • getBounds

      public Rectangle getBounds(int x, int y, float scaleFactor)
      Specified by:
      getBounds in class Symbol
    • clone

      public Object clone()
      Description copied from class: Symbol
      Returns a cloned instance of the current symbol.
      Specified by:
      clone in class Symbol
      Returns:
      a cloned instance of the current symbol.