public class SCAD extends Object
Modifier and Type | Field and Description |
---|---|
static SCAD |
EMPTY
An empty SCAD object.
|
Constructor and Description |
---|
SCAD(String scad)
Creates a new object which holds the given string.
|
Modifier and Type | Method and Description |
---|---|
SCAD |
append(SCAD scad)
Append the given text to this object.
|
SCAD |
append(String text)
Append the given text to this object.
|
boolean |
equals(Object obj) |
String |
getScad()
Returns the string representation of the SCAD output.
|
int |
hashCode() |
boolean |
isEmpty()
True if this object doesn't contain any output.
|
SCAD |
prepend(String text)
Prepend the given text to this object.
|
String |
toString() |
public static final SCAD EMPTY
public SCAD(String scad)
scad
- the string to representpublic String getScad()
public boolean isEmpty()
public SCAD prepend(String text)
text
- the text to be prependpublic SCAD append(String text)
text
- the text to be appendedpublic SCAD append(SCAD scad)
scad
- the text to be appendedCopyright © 2014–2020, Printing in 3D. All rights reserved.