private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
  ois.defaultReadObject();
  stroke=readStroke(ois,OMGraphicAdapter.BASIC_STROKE);
  textureMask=readTextureMask(ois);
}

private void readObject ( ObjectInputStream ois ) throws ClassNotFoundException , IOException { ois . defaultReadObject ( ) ; stroke = readStroke ( ois , OMGraphicAdapter . BASIC_STROKE ) ; textureMask = readTextureMask ( ois ) ; }
read this object from a stream .
