ChemAxon 587f88acea
23-06-2004 12:24:04
Hello,
is it possible to add my own color set?
Or to change one of the color sets?
is it possible to add my own color set?
Or to change one of the color sets?
ChemAxon 587f88acea
23-06-2004 12:24:04
ChemAxon 7c2d26e5cf
23-06-2004 14:35:52
ChemAxon 587f88acea
19-07-2004 09:07:45
ChemAxon 587f88acea
19-07-2004 13:37:46
ChemAxon 7c2d26e5cf
19-07-2004 14:28:44
Tanja wrote: |
I have solved the most problems, but there is one left. I need a function to set the set for a special atom. I only found something like this for MView, but not for MSketch. Is there anything like this? Tanja |
ChemAxon 587f88acea
05-08-2004 08:16:11
ChemAxon fb166edcbd
10-08-2004 19:58:58
Code: |
java ColorHitsTest <query1 file> <query2 file> <target file> |
User f5e6ccf034
26-05-2008 15:22:29
Code: |
new MDocument(mol).setAtomSetRGB(1, rgb) |
ChemAxon 7c2d26e5cf
26-05-2008 20:10:30
Code: |
MDocument doc = new MDocument(mol); doc.setAtomSetRGB(1,0xffbbcc); mol.getAtom(0).setSetSeq(1); mol.getAtom(1).setSetSeq(1); mol.getAtom(2).setSetSeq(1); MolPrinter p = new MolPrinter(doc); |
User f5e6ccf034
26-05-2008 20:33:42
Code: |
public class MolDrawer { private final MolPrinter printer = new MolPrinter(); private final MDocument mdoc = new MDocument(new Molecule()); public void setHighlightColors(...) { mdoc.setAtomSetRGB(0, ...); mdoc.setAtomSetRGB(1, ...); } public void draw(Graphics g, Molecule mol, Rectangle r) { mdoc.setMainMoleculeGraph(mol); printer.setDoc(mdoc); printer.paint(g, r); } } |