[]
        
(Showing Draft Content)

IShapeRange

Interface IShapeRange

All Superinterfaces:
Iterable<IShape>

public interface IShapeRange extends Iterable<IShape>
Represents a shape range, which is a set of shapes on a document.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int index)
    Returns a single object from a collection.
    get(String index)
    Returns a single object from a collection.
    int
    Returns the number of objects in the collection.
    Groups the shapes in the specified range.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • get

      IShape get(int index)
      Returns a single object from a collection.
      Parameters:
      index - Required int. The index number for the object.
    • get

      IShape get(String index)
      Returns a single object from a collection.
    • getCount

      int getCount()
      Returns the number of objects in the collection.
    • group

      IShape group()
      Groups the shapes in the specified range.
      Returns:
      A Shape object that represents the grouped shape.