Reference for .Net 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.
SpaceVIL.Core.IImageItem Interface Reference

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

Inherited by SpaceVIL.ImageItem.

Public Member Functions

Bitmap GetImage ()
 Method for describing how to get a bitmap in the form of System.Drawing.Bitmap. 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...
 
bool 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 SpaceVIL.Core.IImageItem.GetAreaBounds ( )

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

Returns
Bounds as SpaceVIL.Core.Area.

Implemented in SpaceVIL.ImageItem.

◆ GetColorOverlay()

Color SpaceVIL.Core.IImageItem.GetColorOverlay ( )

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

Returns
Color overlay as System.Drawing.Color.

Implemented in SpaceVIL.ImageItem.

◆ GetImage()

Bitmap SpaceVIL.Core.IImageItem.GetImage ( )

Method for describing how to get a bitmap in the form of System.Drawing.Bitmap.

Returns
Image as System.Drawing.Bitmap.

Implemented in SpaceVIL.ImageItem.

◆ GetImageHeight()

int SpaceVIL.Core.IImageItem.GetImageHeight ( )

Method for describing how to get an image height.

Returns
Image height.

Implemented in SpaceVIL.ImageItem.

◆ GetImageWidth()

int SpaceVIL.Core.IImageItem.GetImageWidth ( )

Method for describing how to get an image width.

Returns
Image width.

Implemented in SpaceVIL.ImageItem.

◆ GetRotationAngle()

float SpaceVIL.Core.IImageItem.GetRotationAngle ( )

Method for getting rotation angle of an image.

Returns
Rotation angle.

Implemented in SpaceVIL.ImageItem.

◆ IsColorOverlay()

bool SpaceVIL.Core.IImageItem.IsColorOverlay ( )

Method for getting color overlay status.

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

Implemented in SpaceVIL.ImageItem.


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