All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.refcodes.graphical.Opacity Maven / Gradle / Ivy

Go to download

Artifact for graphical issues regarding RGB, pixel, fonts, and other stuff (utility).

The newest version!
/*
 * 
 */
package org.refcodes.graphical;

/**
 * The Enum Opacity.
 */
public enum Opacity {

	SHOW(1), HIDE(0), DRAG(0.5);

	// /////////////////////////////////////////////////////////////////////////
	// VARIABLES:
	// /////////////////////////////////////////////////////////////////////////

	private double _opacity;

	// /////////////////////////////////////////////////////////////////////////
	// CONSTRUCTORS:
	// /////////////////////////////////////////////////////////////////////////

	/**
	 * Instantiates a new opacity.
	 *
	 * @param aOpacity the opacity
	 */
	private Opacity( double aOpacity ) {
		_opacity = aOpacity;
	}

	// /////////////////////////////////////////////////////////////////////////
	// METHODS:
	/**
	 * Gets the opacity.
	 *
	 * @return the opacity
	 */
	// /////////////////////////////////////////////////////////////////////////
	public double getOpacity() {
		return _opacity;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy