public interface

ShapeManipulating

sofia.graphics.ShapeManipulating

Class Overview

Methods that manipulate shapes by adding or removing them from their parent, such as a ShapeView or a CompositeShape.

Summary

Public Methods
abstract void add(Shape shape)
Add a shape to the object implementing this interface.
abstract void clear()
Removes all shapes currently in the object implementing this interface.
abstract void remove(Shape shape)
Remove a shape from the object implementing this interface.

Public Methods

public abstract void add (Shape shape)

Add a shape to the object implementing this interface.

Parameters
shape The shape to add.

public abstract void clear ()

Removes all shapes currently in the object implementing this interface.

public abstract void remove (Shape shape)

Remove a shape from the object implementing this interface.

Parameters
shape The shape to remove.