MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / EpsDocument

Method EpsDocument

src/org/jibble/epsgraphics/EpsDocument.java:30–38  ·  view source on GitHub ↗

Constructs an empty EpsDevice. @param title

(String title)

Source from the content-addressed store, hash-verified

28 * @param title
29 */
30 public EpsDocument(String title) {
31 _title = title;
32 minX = Float.POSITIVE_INFINITY;
33 minY = Float.POSITIVE_INFINITY;
34 maxX = Float.NEGATIVE_INFINITY;
35 maxY = Float.NEGATIVE_INFINITY;
36 _stringWriter = new StringWriter();
37 _bufferedWriter = new BufferedWriter(_stringWriter);
38 }
39
40 /**
41 * Constructs an empty EpsDevice that writes directly to a file.

Callers

nothing calls this directly

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected