org.scilab.forge.scirenderer.examples.milkDrop
Class MilkDropFactory

java.lang.Object
  extended by org.scilab.forge.scirenderer.examples.milkDrop.MilkDropFactory

public final class MilkDropFactory
extends java.lang.Object

An utility class to create milk drop geometry.

Author:
Pierre Lando

Constructor Summary
MilkDropFactory()
           
 
Method Summary
static Geometry createMilkDrop(Canvas canvas)
          Return a geometry representing a milk drop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MilkDropFactory

public MilkDropFactory()
Method Detail

createMilkDrop

public static Geometry createMilkDrop(Canvas canvas)
Return a geometry representing a milk drop.

Parameters:
canvas - the canvas where the buffers are created.
Returns:
a geometry representing a milk drop.