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

com.harium.etyl.theme.etyllic.arrow.HorizontalArrow Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
package com.harium.etyl.theme.etyllic.arrow;

public class HorizontalArrow extends NormalArrow {

	public HorizontalArrow(int size) {
		super(size);
		
		cursorX = size/2;
		cursorY = size/2;
	}
	
	@Override
	protected void defPoints() {
		
		final int d = size/20;
		final int s = (int) size;
		
		addPoint(0,s/2);
		addPoint(s/4,s/2+s/3);
		addPoint(s/4,s/2+d);
		addPoint(s-s/4,s/2+d);
		addPoint(s-s/4,s/2+s/3);
		addPoint(s,s/2);
		addPoint(s-s/4, s/2-s/3);
		addPoint(s-s/4,s/2-d);
		addPoint(s/4,s/2-d);
		addPoint(s/4,s/2-s/3);
		addPoint(0,s/2);
						
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy