Class Shadow


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

      • _color

        public final int _color
      • _offsetX

        public final float _offsetX
      • _offsetY

        public final float _offsetY
      • _blurSigma

        public final double _blurSigma
    • Constructor Detail

      • Shadow

        public Shadow​(int color,
                      io.github.humbleui.types.Point offset,
                      double blurSigma)
      • Shadow

        public Shadow​(int color,
                      float offsetX,
                      float offsetY,
                      double blurSigma)
    • Method Detail

      • getOffset

        public io.github.humbleui.types.Point getOffset()
      • getColor

        public int getColor()
      • getOffsetX

        public float getOffsetX()
      • getOffsetY

        public float getOffsetY()
      • getBlurSigma

        public double getBlurSigma()
      • 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
      • withColor

        public Shadow withColor​(int _color)
        Returns:
        this.
      • withOffsetX

        public Shadow withOffsetX​(float _offsetX)
        Returns:
        this.
      • withOffsetY

        public Shadow withOffsetY​(float _offsetY)
        Returns:
        this.
      • withBlurSigma

        public Shadow withBlurSigma​(double _blurSigma)
        Returns:
        this.