Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
BufferedImageの多角形の部分をトリミングして、別のBufferedImageに書き込むにはどうすればよいですか?
Graphics2Dには、clip(Shape)メソッドとdraw(Shape)メソッドがあります。したがって、Shapeをポリゴンに設定してから、1つのBufferedImageから別のBufferedImageにペイントできると思います。