private void writeObject(ObjectOutputStream oos) throws IOException {
  oos.defaultWriteObject();
  writeStroke(oos,stroke,OMGraphicAdapter.BASIC_STROKE);
  writeTextureMask(oos,textureMask);
}

private void writeObject ( ObjectOutputStream oos ) throws IOException { oos . defaultWriteObject ( ) ; writeStroke ( oos , stroke , OMGraphicAdapter . BASIC_STROKE ) ; writeTextureMask ( oos , textureMask ) ; }
write this object to a stream .
