Class Frank


  • public class Frank
    extends Shape
    • Field Detail

      • frankString

        public java.lang.String frankString
      • currentMetricsFont3d

        javajs.awt.Font currentMetricsFont3d
      • baseFont3d

        public javajs.awt.Font baseFont3d
      • frankWidth

        public int frankWidth
      • frankAscent

        public int frankAscent
      • frankDescent

        public int frankDescent
      • x

        int x
      • y

        int y
      • dx

        int dx
      • dy

        int dy
      • scaling

        private float scaling
      • font3d

        public javajs.awt.Font font3d
    • Constructor Detail

      • Frank

        public Frank()
    • Method Detail

      • initShape

        public void initShape()
        Specified by:
        initShape in class Shape
      • setProperty

        public void setProperty​(java.lang.String propertyName,
                                java.lang.Object value,
                                BS bs)
        Specified by:
        setProperty in class Shape
      • wasClicked

        public boolean wasClicked​(int x,
                                  int y)
        Overrides:
        wasClicked in class Shape
        Returns:
        T/F
      • checkObjectHovered

        public boolean checkObjectHovered​(int x,
                                          int y,
                                          BS bsVisible)
        Overrides:
        checkObjectHovered in class Shape
        Returns:
        T/F
      • calcMetrics

        void calcMetrics()
      • getFont

        public void getFont​(float imageFontScaling)
      • getShapeState

        public java.lang.String getShapeState()
        Specified by:
        getShapeState in class Shape