Class UImage

  • All Implemented Interfaces:
    UShape

    public class UImage
    extends java.lang.Object
    implements UShape
    • Constructor Summary

      Constructors 
      Constructor Description
      UImage​(java.awt.image.BufferedImage image)  
      UImage​(java.awt.image.BufferedImage image, java.lang.String formula)  
    • Constructor Detail

      • UImage

        public UImage​(java.awt.image.BufferedImage image)
      • UImage

        public UImage​(java.awt.image.BufferedImage image,
                      java.lang.String formula)
    • Method Detail

      • scale

        public UImage scale​(double scale)
      • scaleNearestNeighbor

        public UImage scaleNearestNeighbor​(double scale)
      • getImage

        public final java.awt.image.BufferedImage getImage()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getFormula

        public final java.lang.String getFormula()
      • muteColor

        public UImage muteColor​(java.awt.Color newColor)