Package de.linusdev.lutils.color.impl
Class RGBAColorDoubleImpl
java.lang.Object
de.linusdev.lutils.color.impl.RGBAColorDoubleImpl
- All Implemented Interfaces:
Color,RGBAColor,Simplifiable
-
Field Summary
Fields inherited from interface de.linusdev.lutils.color.Color
BLACK, BLUE, CYAN, GREEN, ORANGE, RED, WHITEFields inherited from interface de.linusdev.lutils.color.RGBAColor
RGB_DOUBLE_MAX, RGB_DOUBLE_MIN, RGB_INT_MAX, RGB_INT_MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublealpha()Alpha value of this color as double.doubleblue()Blue value of this color as double.intgetAlpha()Alpha value of this color as int.intgetBlue()Blue value of this color as int.intgetGreen()Green value of this color as int.intgetRed()Red value of this color as int.doublegreen()Green value of this color as double.doublered()Red value of this color as double.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.linusdev.lutils.color.RGBAColor
addToSgrAsBackground, addToSgrAsForeground, simplify, toHSVAColor, toJavaAwtColor, toRGBAColor, toRGBAHex, toRGBHex
-
Constructor Details
-
RGBAColorDoubleImpl
public RGBAColorDoubleImpl(double red, double green, double blue, double alpha)
-
-
Method Details
-
getRed
public int getRed()Description copied from interface:RGBAColor -
getGreen
public int getGreen()Description copied from interface:RGBAColor -
getBlue
public int getBlue()Description copied from interface:RGBAColor -
getAlpha
public int getAlpha()Description copied from interface:RGBAColor -
red
public double red()Description copied from interface:RGBAColor -
green
public double green()Description copied from interface:RGBAColor -
blue
public double blue()Description copied from interface:RGBAColor -
alpha
public double alpha()Description copied from interface:RGBAColor -
toString
-