if (graphic instanceof OMPoint) { pointRadius = ((OMPoint)graphic).getRadius(); pointOval = ((OMPoint)graphic).isOval(); }
    public void setFrom(OMGraphic graphic) {        matted = graphic.isMatted();        mattingPaint = graphic.getMattingPaint();        linePaint = graphic.getLinePaint();        selectPaint = graphic.getSelectPaint();        fillPaint = graphic.getFillPaint();        fillPattern = graphic.getTextureMask();        // Need to put this in to keep the gui up to date.  Calling        // setStroke fires off a propertyChange reaction that        // potentially harms other parameters, like renderType.        stroke = graphic.getStroke();        // Don't want to call this here, it is CPU intensive.        // resetGUI should be called only when the GUI needs to be        // updated.//      resetGUI();        if (propertyChangeSupport != null) {            propertyChangeSupport.firePropertyChange("all", true, true);        }    }