public class Elements extends Object implements Serializable
| Constructor and Description | 
|---|
| Elements() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | encode()Write the options of Elements | 
| ElementsArc | getArc()Gets the arc | 
| ElementsLine | getLine()Gets the line | 
| ElementsPoint | getPoint()Gets the point | 
| ElementsRectangle | getRectangle()Gets the rectangle | 
| void | setArc(ElementsArc arc)Sets the arc | 
| void | setLine(ElementsLine line)Sets the line | 
| void | setPoint(ElementsPoint point)Sets the point | 
| void | setRectangle(ElementsRectangle rectangle)Sets the rectangle | 
public ElementsPoint getPoint()
public void setPoint(ElementsPoint point)
point - the ElementsPoint objectpublic ElementsLine getLine()
public void setLine(ElementsLine line)
line - the ElementsLine objectpublic ElementsRectangle getRectangle()
public void setRectangle(ElementsRectangle rectangle)
rectangle - the ElementsRectangle objectpublic ElementsArc getArc()
public void setArc(ElementsArc arc)
arc - the ElementsArc objectpublic String encode() throws IOException
IOException - If an I/O error occursCopyright © 2020. All rights reserved.