Class PlaceholderStyle


  • public class PlaceholderStyle
    extends java.lang.Object
    • Field Detail

      • _width

        public final float _width
      • _height

        public final float _height
      • _baseline

        public final float _baseline

        Distance from the top edge of the rect to the baseline position. This baseline will be aligned against the alphabetic baseline of the surrounding text.

        Positive values drop the baseline lower (positions the rect higher) and small or negative values will cause the rect to be positioned underneath the line. When baseline == height, the bottom edge of the rect will rest on the alphabetic baseline.

    • Constructor Detail

    • Method Detail

      • getWidth

        public float getWidth()
      • getHeight

        public float getHeight()
      • getBaseline

        public float getBaseline()

        Distance from the top edge of the rect to the baseline position. This baseline will be aligned against the alphabetic baseline of the surrounding text.

        Positive values drop the baseline lower (positions the rect higher) and small or negative values will cause the rect to be positioned underneath the line. When baseline == height, the bottom edge of the rect will rest on the alphabetic baseline.

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object