com.arctorus.documents
Class ShapeFactory

java.lang.Object
  extended by com.arctorus.documents.ShapeFactory

public final class ShapeFactory
extends java.lang.Object

Shapes factory.


Method Summary
static Shape create(ShapeType shapeType)
          Create and return new shape with the specified type.
static com.arctorus.documents.CustomShape createCustomShape()
          Create and return new custom shape.
static Picture createPicture()
          Create and return new picture shape.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static final Shape create(ShapeType shapeType)
Create and return new shape with the specified type.

Parameters:
shapeType - - type of a shape to create.

createPicture

public static final Picture createPicture()
Create and return new picture shape.


createCustomShape

public static com.arctorus.documents.CustomShape createCustomShape()
Create and return new custom shape.