Class TankFigure

    • Field Detail

      • WHITE_COLOR

        private static final org.eclipse.swt.graphics.Color WHITE_COLOR
      • GRAY_COLOR

        private static final org.eclipse.swt.graphics.Color GRAY_COLOR
      • BLUE_COLOR

        private static final org.eclipse.swt.graphics.Color BLUE_COLOR
      • effect3D

        private boolean effect3D
      • fillColor

        private org.eclipse.swt.graphics.Color fillColor
      • fillBackgroundColor

        private org.eclipse.swt.graphics.Color fillBackgroundColor
    • Constructor Detail

      • TankFigure

        public TankFigure()
    • Method Detail

      • getFillBackgroundColor

        public org.eclipse.swt.graphics.Color getFillBackgroundColor()
        Returns:
        the fillBackgroundColor
      • getFillColor

        public org.eclipse.swt.graphics.Color getFillColor()
        Returns:
        the fillColor
      • isEffect3D

        public boolean isEffect3D()
        Returns:
        the effect3D
      • setEffect3D

        public void setEffect3D​(boolean effect3D)
        Parameters:
        effect3D - the effect3D to set
      • setFillBackgroundColor

        public void setFillBackgroundColor​(org.eclipse.swt.graphics.Color fillBackgroundColor)
        Parameters:
        fillBackgroundColor - the fillBackgroundColor to set
      • setFillColor

        public void setFillColor​(org.eclipse.swt.graphics.Color fillColor)
        Parameters:
        fillColor - the fillColor to set
      • setForegroundColor

        public void setForegroundColor​(org.eclipse.swt.graphics.Color fg)
        Specified by:
        setForegroundColor in interface org.eclipse.draw2d.IFigure
        Overrides:
        setForegroundColor in class org.eclipse.draw2d.Figure