简体   繁体   中英

What type of attribute should I use for an Image in java?

I plan to make a javaFX gui for an app that I'm working on. I have a class which contains attributes of something and in these attributes i want an Image which can be displayed in an ImageView (javaFX). Which type should i use for the image?

给定构造函数ImageView(Image)我会说将它们存储为Image

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM