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.
如何在背景层中重复(X 和 Y)图像?
我相信这段代码做了类似的事情:
final ImageLayer bgLayer = graphics().createImageLayer(bgImage); bgLayer.setRepeatX(true); bgLayer.setRepeatY(true); graphics().rootLayer().add(bgLayer);