com.powerml.structures.shapes
Class ShapeGroup

java.lang.Object
  extended bycom.powerml.structures.shapes.Shape
      extended bycom.powerml.structures.shapes.ShapeGroup
All Implemented Interfaces:
java.io.Serializable

public class ShapeGroup
extends Shape

Represents a group of shapes.

See Also:
Serialized Form

Method Summary
 double getScaleX()
          Returns the x scaling factor.
 double getScaleY()
          Returns the y scaling factor.
 java.util.ArrayList getShapes()
          Returns the shapes contained in the group in z order (topmost last)
 int getTypeId()
          Returns the shape type ID (ShapeTypes.GROUP).
 boolean isTopLevel()
          Checks whether the group is the top level group (i.e. if it has no parent group)
 
Methods inherited from class com.powerml.structures.shapes.Shape
addXml, getAngle, getDescription, getFillStyle, getHeight, getHyperlink, getId, getLineStyle, getMasterShapeId, getParentGroup, getPlaceholderDescriptor, getShadowStyle, getSpatialStyle, getText, getTextLayout, getWidth, getX, getY, isHorizontalFlip, isVerticalFlip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getScaleX

public double getScaleX()
Returns the x scaling factor.

Returns:
x scaling

getScaleY

public double getScaleY()
Returns the y scaling factor.

Returns:
y scaling

getShapes

public java.util.ArrayList getShapes()
Returns the shapes contained in the group in z order (topmost last)

Returns:
shapes list

getTypeId

public int getTypeId()
Returns the shape type ID (ShapeTypes.GROUP).

Specified by:
getTypeId in class Shape
Returns:
type ID
See Also:
Shape.getTypeId()

isTopLevel

public boolean isTopLevel()
Checks whether the group is the top level group (i.e. if it has no parent group)

Returns:
true if grou phas no parent group


© 2004-2005 Ralf Terdic. All rights reserved.
www.powerml.com