您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

GroupShape.java 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* ====================================================================
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. ==================================================================== */
  15. package org.apache.poi.sl.usermodel;
  16. import java.awt.geom.Rectangle2D;
  17. public interface GroupShape<T extends Shape> extends Shape, ShapeContainer<T>, PlaceableShape {
  18. /**
  19. * Gets the coordinate space of this group. All children are constrained
  20. * to these coordinates.
  21. *
  22. * @param anchor the coordinate space of this group
  23. */
  24. Rectangle2D getInteriorAnchor();
  25. /**
  26. * Sets the coordinate space of this group. All children are constrained
  27. * to these coordinates.
  28. *
  29. * @param anchor the coordinate space of this group
  30. */
  31. void setInteriorAnchor(Rectangle2D anchor);
  32. }