Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
package com.marginallyclever.makelangelo.pen;
import java.awt.*;
/**
* Describes a pen that can be used to draw on a surface.
*/
public class Pen {
public String name;
public Color color = new Color(0,0,0);
public double diameter = 0.8;
public Pen() {
this("Black");
}
public Pen(String name) {
super();
this.name = name;
}
@Override
public String toString() {
return name + " " + diameter + " "+color.getRed()+" "+color.getGreen()+" "+color.getBlue();
}
}
a199cc528This file is pinned to the selected release. Download the original to open it in your design tool.