/** get the Color corresponding with the Object (pen or brush object). */ private Color getColorFromObject(int brushObject) { Color color = null; if ( brushObject >= 0 ) { GdiObject gdiObj = getObject( brushObject ); return (Color)gdiObj.obj; } else return null; }
/** get the Color corresponding with the Object (pen or brush object). */ private Color getColorFromObject(int brushObject) { Color color = null; if ( brushObject >= 0 ) { GdiObject gdiObj = getObject( brushObject ); return (Color)gdiObj.obj; } else return null; }