Class SourceBounds

    • Constructor Detail

      • SourceBounds

        public SourceBounds​(String asString,
                            String separator)
        Constructs a new SourceBounds from string.
        Parameters:
        asString - The string containing the list of shapes defining this bounds
        separator - The shape separator in the given string, usually a comma
    • Method Detail

      • addShape

        public final void addShape​(Shape shape)
        Adds a new shape to this bounds.
        Parameters:
        shape - The shape to add
      • setShapes

        public final void setShapes​(List<Shape> shapes)
        Sets the list of shapes defining this bounds.
        Parameters:
        shapes - The list of shapes defining this bounds.
      • getShapes

        public final List<ShapegetShapes()
        Returns the list of shapes defining this bounds.
        Returns:
        The list of shapes defining this bounds