Reference for JVM version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
com.spvessel.spacevil.Core.InterfaceImageItem Interface Reference

An interface that discribes such type of items that are images (for texturing). More...

Inherited by com.spvessel.spacevil.ImageItem.

Public Member Functions

BufferedImage getImage ()
 Method for describing how to get a bitmap in the form of java.awt.image.BufferedImage. More...
 
int getImageWidth ()
 Method for describing how to get an image width. More...
 
int getImageHeight ()
 Method for describing how to get an image height. More...
 
Color getColorOverlay ()
 Method for getting color overlay (useful in images that have alpha channel). More...
 
boolean isColorOverlay ()
 Method for getting color overlay status. More...
 
float getRotationAngle ()
 Method for getting rotation angle of an image. More...
 
Area getAreaBounds ()
 Method for getting bounds for an image (for example: to keep aspect ratio). More...
 

Detailed Description

An interface that discribes such type of items that are images (for texturing).

Member Function Documentation

◆ getAreaBounds()

Area com.spvessel.spacevil.Core.InterfaceImageItem.getAreaBounds ( )

Method for getting bounds for an image (for example: to keep aspect ratio).

Returns
Bounds as com.spvessel.spacevil.Core.Area.

Implemented in com.spvessel.spacevil.ImageItem.

◆ getColorOverlay()

Color com.spvessel.spacevil.Core.InterfaceImageItem.getColorOverlay ( )

Method for getting color overlay (useful in images that have alpha channel).

Returns
Color overlay as System.Drawing.Color.

Implemented in com.spvessel.spacevil.ImageItem.

◆ getImage()

BufferedImage com.spvessel.spacevil.Core.InterfaceImageItem.getImage ( )

Method for describing how to get a bitmap in the form of java.awt.image.BufferedImage.

Returns
Image as java.awt.image.BufferedImage.

Implemented in com.spvessel.spacevil.ImageItem.

◆ getImageHeight()

int com.spvessel.spacevil.Core.InterfaceImageItem.getImageHeight ( )

Method for describing how to get an image height.

Returns
Image height.

Implemented in com.spvessel.spacevil.ImageItem.

◆ getImageWidth()

int com.spvessel.spacevil.Core.InterfaceImageItem.getImageWidth ( )

Method for describing how to get an image width.

Returns
Image width.

Implemented in com.spvessel.spacevil.ImageItem.

◆ getRotationAngle()

float com.spvessel.spacevil.Core.InterfaceImageItem.getRotationAngle ( )

Method for getting rotation angle of an image.

Returns
Rotation angle.

Implemented in com.spvessel.spacevil.ImageItem.

◆ isColorOverlay()

boolean com.spvessel.spacevil.Core.InterfaceImageItem.isColorOverlay ( )

Method for getting color overlay status.

Returns
True: if color overlay is using. False: if color overlay is not using.

Implemented in com.spvessel.spacevil.ImageItem.


The documentation for this interface was generated from the following file: