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

com.actelion.research.share.gui.DrawConfig Maven / Gradle / Ivy

There is a newer version: 2024.11.2
Show newest version
package com.actelion.research.share.gui;

/**
 * User: rufenec
 * Creation Date: 8/24/2016
 */
public abstract class DrawConfig
{
    public final long createColor(double r, double g, double b, double alpha)
    {
        long col = (long)(r * 255) << 24 | (long)(g * 255) << 16 | (long)(b * 255) << 8 | (long)(alpha*255);
        return col;
    }

    public abstract long getHighLightColor();
    public abstract long getMapToolColor();
    public abstract long getSelectionColor();
    public abstract long getForegroundColor();
    public abstract long getBackgroundColor();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy