Class DecorationStyle


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

      • _underline

        public final boolean _underline
      • _overline

        public final boolean _overline
      • _lineThrough

        public final boolean _lineThrough
      • _gaps

        public final boolean _gaps
      • _color

        public final int _color
      • _thicknessMultiplier

        public final float _thicknessMultiplier
    • Constructor Detail

      • DecorationStyle

        @Internal
        public DecorationStyle​(boolean underline,
                               boolean overline,
                               boolean lineThrough,
                               boolean gaps,
                               int color,
                               int lineStyle,
                               float thicknessMultiplier)
      • DecorationStyle

        public DecorationStyle​(boolean underline,
                               boolean overline,
                               boolean lineThrough,
                               boolean gaps,
                               int color,
                               DecorationLineStyle lineStyle,
                               float thicknessMultiplier)
    • Method Detail

      • hasUnderline

        public boolean hasUnderline()
      • hasOverline

        public boolean hasOverline()
      • hasLineThrough

        public boolean hasLineThrough()
      • hasGaps

        public boolean hasGaps()
      • getColor

        public int getColor()
      • getThicknessMultiplier

        public float getThicknessMultiplier()
      • 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
      • withUnderline

        public DecorationStyle withUnderline​(boolean _underline)
        Returns:
        this.
      • withOverline

        public DecorationStyle withOverline​(boolean _overline)
        Returns:
        this.
      • withLineThrough

        public DecorationStyle withLineThrough​(boolean _lineThrough)
        Returns:
        this.
      • withGaps

        public DecorationStyle withGaps​(boolean _gaps)
        Returns:
        this.
      • withColor

        public DecorationStyle withColor​(int _color)
        Returns:
        this.
      • withThicknessMultiplier

        public DecorationStyle withThicknessMultiplier​(float _thicknessMultiplier)
        Returns:
        this.