com.harium.etyl.theme.etyllic.arrow.TextArrow Maven / Gradle / Ivy
package com.harium.etyl.theme.etyllic.arrow;
public class TextArrow extends NormalArrow {
public TextArrow(int size) {
super(size);
cursorX = size/2;
cursorY = size/2;
}
@Override
protected void defPoints() {
addPoint((int)(size*0.4),0);
addPoint(0, 0);
//addPoint((int)(size*0.4),0);
//addPoint((int)(size*0.4)+2,0);
addPoint((int)(size*0.8),0);
addPoint((int)(size*0.4),0);
//addPoint((int)(size*0.4)+1,1);
addPoint((int)(size*0.4),(int)(size*0.9));
addPoint(0,(int)(size*0.9));
addPoint((int)(size*0.8),(int)(size*0.9));
addPoint((int)(size*0.4),(int)(size*0.9));
//addPoint((int)(size*0.26),(int)(size*0.55));
//addPoint((int)(size*0.49),(int)(size*0.57));
}
}