Class SourceBounds

    • Constructor Detail

      • SourceBounds

        public SourceBounds​(java.lang.String asString,
                            java.lang.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​(java.util.List<Shape> shapes)
        Sets the list of shapes defining this bounds.
        Parameters:
        shapes - The list of shapes defining this bounds.
      • getShapes

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Bounds