/*
 *  The MIT License (MIT)
 *
 *  View the full license at:
 *  https://github.com/hendrixjoseph/FamilyTree/blob/master/LICENSE.md
 *
 *  Copyright (c) 2015 Joseph Hendrix
 *
 *  Hosted on GitHub at https://github.com/hendrixjoseph/FamilyTree
 *
 */

package edu.wright.hendrix11.svg.component.shape;

import javax.faces.context.ResponseWriter;

import java.io.IOException;

/**
 * @author Joe Hendrix
 */
public class Line extends SvgComponent
{
    protected Line()
    {
        super(line);
    }
    
    public void setX1(Number x1)
    {
        put("x1",x1);
    }

    public void setY1(Number y1)
    {
        put("y1",y1);
    }
    
    public void setX2(Number x2)
    {
        put("x2",x2);
    }

    public void setY2(Number y2)
    {
        put("y2",y2);
    }
}

Create Line.java