예제 #1
0
        public Line(float thickness, GLColor color, GLPoint[] points) {
            var copy = new List<GLPoint>();
            copy.AddRange(points);

            Color = color;
            Thickness = thickness;
            Points = copy;
        }
예제 #2
0
 public Rectangle(GLColor color, bool border, GLPoint origin, GLSize size) {
     Origin = origin;
     Border = border;
     Size = size;
     Color = color;
 }