@TestClass(value="org.openscience.cdk.renderer.elements.GeneralPathTest") public class GeneralPath extends Object implements IRenderingElement
Modifier and Type | Field and Description |
---|---|
Color |
color
The color of the path.
|
List<PathElement> |
elements
The elements in the path.
|
Constructor and Description |
---|
GeneralPath(List<PathElement> elements,
Color color)
Make a path from a list of path elements.
|
public final Color color
public final List<PathElement> elements
@TestMethod(value="testConstructor") public GeneralPath(List<PathElement> elements, Color color)
elements
- the elements that make up the pathcolor
- the color of the path@TestMethod(value="testAccept") public void accept(IRenderingVisitor v)
TextElement
into widget specific objects.accept
in interface IRenderingElement
v
- Toolkit specific widget factory.