MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / duplicate

Method duplicate

src/main/java/field/graphics/FLine.java:1008–1017  ·  view source on GitHub ↗

returns a copy of this line

()

Source from the content-addressed store, hash-verified

1006 fLine.attributes.putAll(attributes.duplicate());
1007 fLine.modify();
1008 if (auxProperties != null) fLine.setAuxPropertiesFunctions(new LinkedHashMap<>(auxProperties));
1009 return fLine;
1010 }
1011
1012 @HiddenInAutocomplete
1013 public boolean renderToPoints(MeshBuilder m, Curry.Function3<MeshAcceptor, Node, MoveTo, Node> moveTo, Curry.Function3<MeshAcceptor, Node, LineTo, Node> lineTo, Curry.Function3<MeshAcceptor,
1014 Node, CubicTo, Node> cubicTo) {
1015
1016 BookmarkCache c = cache.computeIfAbsent(m, (k) -> new BookmarkCache(m));
1017
1018 return m.skipTo(c.start, c.end, mod, () -> {
1019
1020 flattenAuxProperties();

Callers 3

cacheDrawingProxyMethod · 0.95
byInsettingMethod · 0.95
asMap_newMethod · 0.95

Calls 5

modifyMethod · 0.95
putAllMethod · 0.80
duplicateMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected