org.gicentre.utils.gui

## Class DrawableFactory

- java.lang.Object
- - org.gicentre.utils.gui.DrawableFactory

-     public class DrawableFactory
      extends java.lang.Object

  Factory to produce drawable renderers. This factory will allow renderers created in external libraries to be used by giCentre utilities.
  Version:
    3.4, 5th February, 2016.
  Author:
    Jo Wood, giCentre, City University London.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DrawableFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Drawable` | `createHandyRenderer(org.gicentre.handy.HandyRenderer handy)` Creates a Drawable instance from the given Handy (sketchy hand-drawn library) renderer.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DrawableFactory

          public DrawableFactory()

  - ### Method Detail

    - #### createHandyRenderer

          public static Drawable createHandyRenderer(org.gicentre.handy.HandyRenderer handy)

      Creates a Drawable instance from the given Handy (sketchy hand-drawn library) renderer.
      Parameters:
        `handy` - Hand-drawn renderer.
      Returns:
        Instance of the Drawable interface capable of sketchy hand-drawn rendering.