示例:
以下代码示范如何设置 GeoPicture
对象,并将其设置信息输出。
public void geoPictureTest(){
// 构造一个 GeoPicture 对象并进行相应设置
GeoPicture geoPicture = new GeoPicture();
geoPicture.setCenter(new Point2D(500, 500));
geoPicture.setHeight(400);
geoPicture.setWidth(400);
geoPicture.setImage(new java.awt.image.BufferedImage(350, 300,
java.awt.image.BufferedImage.TYPE_BYTE_GRAY));
geoPicture.setRotation(5);
}