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

com.harium.etyl.ui.label.BaseRadioLabel Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
package com.harium.etyl.ui.label;

import com.harium.etyl.core.graphics.Graphics;
import com.harium.etyl.ui.Label;
import com.harium.etyl.ui.theme.Theme;

public class BaseRadioLabel extends Label {

	public BaseRadioLabel(int x, int y, int w, int h) {
		super(x, y, w, h);
	}

	@Override
	public void draw(Graphics g) {
		Theme theme = getTheme();
		
		//DrawShadow
		if(theme.isShadow()) {
			g.setColor(theme.getShadowColor());

			g.fillCircle(w/2, h/2, w/4+1);
		}

		g.setColor(theme.getTextColor());
		g.fillCircle(w/2, h/2, w/4);	
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy