the lazy way is to use paint effects. Otherwise your in for a long slog, but it depends on what you need it for