Save This Page
Home » openjdk-7 » net.claribole.zvtm » glyphs » [javadoc | source]
net.claribole.zvtm.glyphs
public class: GlyphUtils [javadoc | source]
java.lang.Object
   net.claribole.zvtm.glyphs.GlyphUtils
Utility functions associated with Glyphs
Method from net.claribole.zvtm.glyphs.GlyphUtils Summary:
basicClone,   getJava2DShape
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.claribole.zvtm.glyphs.GlyphUtils Detail:
 public static Glyph basicClone(Glyph g) 
    returns a (basic) clone of Glyph g, returns null if g belongs to a class that does not implement cloneable. Basic means that it copies the shape, size, orientation and position, nothing more
 public static Shape getJava2DShape(Glyph g) 
    get a java.awt.Shape instance describing Glyph g (only working for non-Or shapes for now, but could be easily extended to support them)